Click or drag to resize

Vec3iItem Property

返回用户文档首页
获取或设置向量的指定坐标。

Namespace: LoongCAD.Geometry
Assembly: LoongSDKCore (in LoongSDKCore.dll) Version: 0.8.15.0 (0.8.15.0)
Syntax
C#
public int this[
	int idx
] { get; set; }

Parameters

idx  Int32
坐标的索引。0代表X坐标,1代表Y坐标,2代表Z坐标。

Property Value

Int32
当获取时,返回相应坐标的值。如果索引超出范围(非0、1、2),则返回0。 当设置时,更新相应坐标的值。如果索引超出范围,则不执行任何操作。
Remarks
使用非0、1、2的索引访问或设置值时,应注意可能的非预期行为。
See Also