AnyCAD Rapid API 2024
Help you to create a better world!
|
4x4矩阵 更多...
Public 成员函数 | |
Matrix4 (Matrix4d m) | |
Matrix4d | ToMatrix4d () |
override string | ToString () |
转换成字符串 | |
void | DebugOutput () |
调试输出 | |
GTrsf | ToTrsf () |
转换为GTrsf矩阵 | |
静态 Public 成员函数 | |
static Matrix4 | From (Matrix4d m) |
static Matrix4 | operator* (Matrix4 a, Matrix4 b) |
static Matrix4 | operator* (Matrix4 a, Matrix4d b) |
static Vector3 | operator* (Matrix4 a, Vector3 v) |
static Vector3d | operator* (Matrix4 a, Vector3d v) |
static Vector4 | operator* (Matrix4 a, Vector4 v) |
static Vector4d | operator* (Matrix4 a, Vector4d v) |
static Matrix4 | makeTranslate (double x, double y, double z) |
构造位移矩阵 | |
static Matrix4 | makeRotation (Vector3 from, Vector3 to) |
由向量构造旋转矩阵 | |
static Matrix4 | makeScale (Vector3 scale) |
static Matrix4 | makeTransform (GTrsf trf) |
从GTrsf构造Matrix4 | |
static Matrix4 | From (GTrsf trf) |
从GTrsf构造Matrix4 | |
static Matrix4 | makeFromAx2 (GAx2 ax) |
从GAx2构造Matrix4 | |
static Matrix4 | makeFromAx3 (GAx3 ax) |
从GAx3构造Matrix4 | |
静态 Public 属性 | |
static readonly Matrix4 | Identity = new Matrix4(1) |
单位矩阵 | |
4x4矩阵
由向量构造旋转矩阵
from | 起始向量 |
to | 终止向量 |
从GTrsf构造Matrix4
trf |
|
static |
构造位移矩阵
x | ΔX方向 |
y | ΔY方向 |
z | ΔZ方向 |
override string AnyCAD.Foundation.Matrix4.ToString | ( | ) |
转换成字符串
GTrsf AnyCAD.Foundation.Matrix4.ToTrsf | ( | ) |
转换为GTrsf矩阵