返回用户文档首页Inheritance Hierarchy SystemObject
SystemValueType
LoongCAD.GeometryVec4
Namespace: LoongCAD.GeometryAssembly: LoongSDKCore (in LoongSDKCore.dll) Version: 0.8.15.0 (0.8.15.0)
Syntax [SerializableAttribute]
public struct Vec4
The Vec4 type exposes the following members.
Constructors Properties | Name | Description |
---|
| Item |
获取或设置向量的指定分量。
|
| Length |
获取当前向量的长度。
|
| LengthSqr |
获取当前向量长度的平方。
|
| XY |
获取或设置由X和Y坐标组成的二维向量。
|
| XYZ |
获取或设置由X、Y和Z坐标组成的三维向量。
|
| XZ |
获取或设置由X和Z坐标组成的二维向量。
|
| YZ |
获取或设置由Y和Z坐标组成的二维向量。
|
| ZW |
获取或设置由Z和W坐标组成的二维向量。
|
TopMethods | Name | Description |
---|
| Equals |
检查当前的 Vec4 对象是否与指定的对象相等。
(Overrides ValueTypeEquals(Object)) |
| GetHashCode |
作为当前 Vec4 对象的哈希函数。
(Overrides ValueTypeGetHashCode) |
| Normalize |
标准化当前 Vec4 对象。
|
| Set |
设置当前 Vec4 对象的坐标。
|
| ToString |
将当前 Vec4 对象的坐标转换为其字符串表示形式。
(Overrides ValueTypeToString) |
TopOperators | Name | Description |
---|
| Addition(Double, Vec4) | |
| Addition(Vec4, Vec4) | |
| Addition(Vec4, Double) | |
| Division(Double, Vec4) | |
| Division(Vec4, Vec4) | |
| Division(Vec4, Double) | |
| Equality(Vec4, Vec4) | |
| Inequality(Vec4, Vec4) | |
| Multiply(Double, Vec4) | |
| Multiply(Vec4, Vec4) | |
| Multiply(Vec4, Double) | |
| Subtraction(Double, Vec4) | |
| Subtraction(Vec4, Vec4) | |
| Subtraction(Vec4, Double) | |
| UnaryNegation(Vec4) | |
TopFields | Name | Description |
---|
| AXIS_X |
表示X轴方向的四维单位向量 (1.0, 0.0, 0.0, 1.0)。
|
| AXIS_Y |
表示Y轴方向的四维单位向量 (0.0, 1.0, 0.0, 1.0)。
|
| AXIS_Z |
表示Z轴方向的四维单位向量 (0.0, 0.0, 1.0, 1.0)。
|
| IDENTITY |
表示四维单位向量 (0.0, 0.0, 0.0, 1.0)。
|
| MAX |
表示具有最大双精度浮点数值的四维向量 (Double.MaxValue, Double.MaxValue, Double.MaxValue, Double.MaxValue)。
|
| MIN |
表示具有最小双精度浮点数值的四维向量 (Double.MinValue, Double.MinValue, Double.MinValue, Double.MinValue)。
|
| W | |
| X | |
| Y | |
| Z | |
| ZERO |
表示四维零向量 (0.0, 0.0, 0.0, 0.0)。
|
TopSee Also