返回用户文档首页
获取线段的端点。
Namespace: LoongCAD.GeometryAssembly: LoongSDKCore (in LoongSDKCore.dll) Version: 2025.0.9.7 (2025.0.9.7)
Syntaxpublic Vec3 this[
int idx
] { get; }
Parameters
- idx Int32
- 索引值,0表示起点,1表示终点。
Return Value
Vec3返回线段的起点或终点。如果索引值不是0或1,则返回Vec3.ZERO。
See Also