AnyCAD Rapid API 2023
Help you to create a better world!
|
Public 成员函数 | |
Matrix4 (float scalar) | |
Matrix4 (float x0, float y0, float z0, float w0, float x1, float y1, float z1, float w1, float x2, float y2, float z2, float w2, float x3, float y3, float z3, float w3) | |
Matrix4 (Vector4 v0, Vector4 v1, Vector4 v2, Vector4 v3) | |
Matrix4 | clone () |
void | copy (Matrix4d m) |
float | get (int i, int j) |
void | set (int i, int j, float val) |
void | rotate (float angle, Vector3 axis) |
void | scale (float ratio) |
void | translate (Vector3 v) |
Matrix3 | toMatrix3 () |
void | multiply (Matrix4 trf) |
Matrix4 | multiplied (Matrix4 trf) |
void | transpose () |
Matrix4 | transposed () |
void | inverse () |
Matrix4 | inversed () |
float | determinant () |
Matrix4DecomposeResult | decompose () |
Matrix4DecomposeResult | decomposeTRS () |
Vector3 | extractTranslation () |
Vector3 | extractScale () |
Vector3 | extractEulerAngleXYZ () |
静态 Public 成员函数 | |
static Matrix4 | makeRotationAxis (Vector3 position, Vector3 dir, float angle) |
static Matrix4 | makeRotationAxis (Vector3 axis, float angle) |
static Matrix4 | makeScale (float x, float y, float z) |
static Matrix4 | makeScaleWithCenter (Vector3 center, Vector3 scale) |
static Matrix4 | makeTranslation (float x, float y, float z) |
static Matrix4 | fromEulerAngleXYZ (float x, float y, float z) |
static Matrix4 | fromEulerAngleYXZ (float y, float x, float z) |
static Matrix4 | makeTranslation (Vector3 v) |