AnyCAD Rapid API 2026
Help you to create a better world!
载入中...
搜索中...
未找到
AnyCAD.Foundation.Matrix4d类 参考

4x4的Double类型矩阵 更多...

类 AnyCAD.Foundation.Matrix4d 继承关系图:

Public 成员函数

 Matrix4d (global::System.IntPtr cPtr, bool cMemoryOwn)
 仅供内部使用
 
void Dispose ()
 
 Matrix4d (double scalar)
 
 Matrix4d (double x0, double y0, double z0, double w0, double x1, double y1, double z1, double w1, double x2, double y2, double z2, double w2, double x3, double y3, double z3, double w3)
 
 Matrix4d (Vector4d v0, Vector4d v1, Vector4d v2, Vector4d v3)
 
Matrix4d clone ()
 
void copy (Matrix4 m)
 
double get (int i, int j)
 
void set (int i, int j, double val)
 
void rotate (double angle, Vector3d axis)
 
void scale (double ratio)
 
void scaleXYZ (double x, double y, double z)
 
void translate (Vector3d v)
 
Matrix3d toMatrix3 ()
 
void multiply (Matrix4d trf)
 
Matrix4d multiplied (Matrix4d trf)
 
Matrix4d multiplied (Matrix4 trf)
 
void transpose ()
 
Matrix4d transposed ()
 
void inverse ()
 
Matrix4d inversed ()
 
double determinant ()
 
Matrix4dDecomposeResult decompose ()
 
Matrix4dDecomposeResult decomposeTRS ()
 
Vector3d extractEulerAngleXYZ ()
 
 Matrix4d (Matrix4 m)
 
Matrix4 ToMatrix4 ()
 
GTrsf ToTrsf ()
 转换成GTrsf
 
override string ToString ()
 
void DebugOutput ()
 

静态 Public 成员函数

static Matrix4d makeRotationAxis (Vector3d position, Vector3d dir, double angle)
 
static Matrix4d makeRotationAxis (Vector3d axis, double angle)
 
static Matrix4d fromEulerAngleXYZ (double x, double y, double z)
 
static Matrix4d fromEulerAngleYXZ (double y, double x, double z)
 
static Matrix4d From (Matrix4 m)
 
static Matrix4d operator* (Matrix4d a, Matrix4d b)
 
static Matrix4d operator* (Matrix4d a, Matrix4 b)
 
static Vector3d operator* (Matrix4d a, Vector3d v)
 
static Vector3 operator* (Matrix4d a, Vector3 v)
 
static Vector4d operator* (Matrix4d a, Vector4d v)
 
static Matrix4d makeTransform (GTrsf trf)
 从GTrsf转换
 
static Matrix4d From (GTrsf trf)
 从GTrsf转换
 
static Matrix4d makeTranslate (double x, double y, double z)
 构造平移矩阵
 
static Matrix4d makeTranslation (double x, double y, double z)
 
static Matrix4d makeTranslate (Vector3d v)
 由向量构造平移矩阵
 
static Matrix4d makeTranslation (Vector3d v)
 由向量构造平移矩阵
 
static Matrix4d makeTranslation (Vector3 v)
 由向量构造平移矩阵
 
static Matrix4d makeRotation (Vector3d from, Vector3d to)
 由向量构造旋转矩阵
 
static Matrix4d makeRotation (Vector3 from, Vector3 to)
 
static Matrix4d makeScale (Vector3d scale)
 由向量构造缩放矩阵
 
static Matrix4d makeScale (double x, double y, double z)
 
static Matrix4d makeScale (double s)
 
static Matrix4d makeFromAx2 (GAx2 ax)
 
static Matrix4d makeFromAx3 (GAx3 ax)
 

静态 Public 属性

static readonly Matrix4d Identity = new Matrix4d(1)
 单位阵
 

详细描述

4x4的Double类型矩阵

成员函数说明

◆ From()

static Matrix4d AnyCAD.Foundation.Matrix4d.From ( GTrsf trf)
static

从GTrsf转换

参数
trf
返回

◆ makeRotation()

static Matrix4d AnyCAD.Foundation.Matrix4d.makeRotation ( Vector3d from,
Vector3d to )
static

由向量构造旋转矩阵

参数
from起始向量
to终止向量
返回
Matrix4d

◆ makeScale()

static Matrix4d AnyCAD.Foundation.Matrix4d.makeScale ( Vector3d scale)
static

由向量构造缩放矩阵

参数
scale缩放比例
返回
Matrix4d

◆ makeTransform()

static Matrix4d AnyCAD.Foundation.Matrix4d.makeTransform ( GTrsf trf)
static

从GTrsf转换

参数
trf
返回

◆ makeTranslate() [1/2]

static Matrix4d AnyCAD.Foundation.Matrix4d.makeTranslate ( double x,
double y,
double z )
static

构造平移矩阵

参数
xΔX
yΔY
zΔZ
返回

◆ makeTranslate() [2/2]

static Matrix4d AnyCAD.Foundation.Matrix4d.makeTranslate ( Vector3d v)
static

由向量构造平移矩阵

参数
v位移
返回

◆ makeTranslation() [1/2]

static Matrix4d AnyCAD.Foundation.Matrix4d.makeTranslation ( Vector3 v)
static

由向量构造平移矩阵

参数
v位移
返回
Matrix4d

◆ makeTranslation() [2/2]

static Matrix4d AnyCAD.Foundation.Matrix4d.makeTranslation ( Vector3d v)
static

由向量构造平移矩阵

参数
v位移
返回

◆ ToTrsf()

GTrsf AnyCAD.Foundation.Matrix4d.ToTrsf ( )

转换成GTrsf

返回