返回用户文档首页
Inheritance HierarchySystemObject
SystemValueType
LoongCAD.GeometryVec4i
Namespace: LoongCAD.GeometryAssembly: LoongSDKCore (in LoongSDKCore.dll) Version: 2025.0.9.7 (2025.0.9.7)
Syntax[SerializableAttribute]
public struct Vec4i
The Vec4i type exposes the following members.
Constructors
Properties | Name | Description |
---|
 | Item |
获取或设置指定索引处的值。
|
 | Length |
获取向量的长度。
|
 | LengthSqr |
获取向量长度的平方。
|
 | XY |
获取或设置Vec2i结构体的X和Y坐标。
|
 | XYZ |
获取或设置Vec3i结构体的X、Y和Z坐标。
|
 | XZ |
获取或设置Vec2i结构体的X和Z坐标。
|
 | YZ |
获取或设置Vec2i结构体的Y和Z坐标。
|
 | ZW |
获取或设置Vec2i结构体的Z和W坐标。
|
Top
Methods | Name | Description |
---|
 | Equals |
确定指定的对象是否等于当前对象。
(Overrides ValueTypeEquals(Object)) |
 | GetHashCode |
作为默认哈希函数。
(Overrides ValueTypeGetHashCode) |
 | Set |
设置向量的X, Y, Z和W坐标。
|
 | ToString |
返回表示当前对象的字符串。
(Overrides ValueTypeToString) |
Top
Operators | Name | Description |
---|
  | Addition(Int32, Vec4i) | |
  | Addition(Vec4i, Vec4i) | |
  | Addition(Vec4i, Int32) | |
  | Division(Int32, Vec4i) | |
  | Division(Vec4i, Vec4i) | |
  | Division(Vec4i, Int32) | |
  | Equality(Vec4i, Vec4i) | |
  | Inequality(Vec4i, Vec4i) | |
  | Multiply(Int32, Vec4i) | |
  | Multiply(Vec4i, Vec4i) | |
  | Multiply(Vec4i, Int32) | |
  | Subtraction(Int32, Vec4i) | |
  | Subtraction(Vec4i, Vec4i) | |
  | Subtraction(Vec4i, Int32) | |
  | UnaryNegation(Vec4i) | |
Top
Fields | Name | Description |
---|
  | MAX |
表示具有最大整数值的向量(Int32.MaxValue, Int32.MaxValue, Int32.MaxValue, Int32.MaxValue)。
|
  | MIN |
表示具有最小整数值的向量(Int32.MinValue, Int32.MinValue, Int32.MinValue, Int32.MinValue)。
|
 | W | |
 | X | |
 | Y | |
 | Z | |
  | ZERO |
表示零向量(0, 0, 0, 0)。
|
Top
See Also