Vector3d.Transform 方法

定义

重载

Transform(Vector3d, Matrix4d)
Transform(Vector3d, Quaterniond)
Transform(Vector3d, Matrix4d, Vector3d)
Transform(Vector3d, Matrix4d, Vector4d)

按给定矩阵转换向量

Transform(Vector3d, Quaterniond, Vector3d)

Transform(Vector3d, Matrix4d)

public static OpenTK.Vector3d Transform (OpenTK.Vector3d vec, OpenTK.Matrix4d mat);
static member Transform : OpenTK.Vector3d * OpenTK.Matrix4d -> OpenTK.Vector3d

参数

vec
Vector3d
mat
Matrix4d

返回

适用于

Transform(Vector3d, Quaterniond)

public static OpenTK.Vector3d Transform (OpenTK.Vector3d vec, OpenTK.Quaterniond quat);
static member Transform : OpenTK.Vector3d * OpenTK.Quaterniond -> OpenTK.Vector3d

参数

vec
Vector3d

返回

适用于

Transform(Vector3d, Matrix4d, Vector3d)

public static void Transform (ref OpenTK.Vector3d vec, ref OpenTK.Matrix4d mat, out OpenTK.Vector3d result);
static member Transform :  *  *  -> unit

参数

vec
Vector3d
mat
Matrix4d
result
Vector3d

适用于

Transform(Vector3d, Matrix4d, Vector4d)

按给定矩阵转换向量

public static void Transform (ref OpenTK.Vector3d vec, ref OpenTK.Matrix4d mat, out OpenTK.Vector4d result);
static member Transform :  *  *  -> unit

参数

vec
Vector3d

要转换的向量

mat
Matrix4d

所需的转换

result
Vector4d

转换后的向量

适用于

Transform(Vector3d, Quaterniond, Vector3d)

public static void Transform (ref OpenTK.Vector3d vec, ref OpenTK.Quaterniond quat, out OpenTK.Vector3d result);
static member Transform :  *  *  -> unit

参数

vec
Vector3d
result
Vector3d

适用于