返回用户文档首页
表示一个三维向量,具有三个双精度浮点数分量。
Inheritance HierarchySystemObject
SystemValueType
LoongCAD.GeometryVec3
Namespace: LoongCAD.GeometryAssembly: LoongSDKCore (in LoongSDKCore.dll) Version: 2025.0.9.7 (2025.0.9.7)
Syntax[SerializableAttribute]
public struct Vec3
The Vec3 type exposes the following members.
Constructors
Properties
Methods
Operators | Name | Description |
---|
  | Addition(Double, Vec3) | |
  | Addition(Vec3, Vec3) | |
  | Addition(Vec3, Double) | |
  | Division(Double, Vec3) | |
  | Division(Vec3, Vec3) | |
  | Division(Vec3, Double) | |
  | Equality(Vec3, Vec3) | |
  | Inequality(Vec3, Vec3) | |
  | Multiply(Double, Vec3) | |
  | Multiply(Vec3, Vec3) | |
  | Multiply(Vec3, Double) | |
  | Subtraction(Double, Vec3) | |
  | Subtraction(Vec3, Vec3) | |
  | Subtraction(Vec3, Double) | |
  | UnaryNegation(Vec3) | |
Top
Fields | Name | Description |
---|
  | AXIS_X |
表示X轴的单位向量(1.0, 0.0, 0.0)。
|
  | AXIS_Y |
表示Y轴的单位向量(0.0, 1.0, 0.0)。
|
  | AXIS_Z |
表示Z轴的单位向量(0.0, 0.0, 1.0)。
|
  | MAX |
表示具有最大双精度浮点数值的三维向量(Double.MaxValue, Double.MaxValue, Double.MaxValue)。
|
  | MIN |
表示具有最小双精度浮点数值的三维向量(Double.MinValue, Double.MinValue, Double.MinValue)。
|
 | X | |
 | Y | |
 | Z | |
  | ZERO |
表示零向量。
|
Top
See Also