Click or drag to resize

LineItem Property

返回用户文档首页
获取线段的端点。

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

Parameters

idx  Int32
索引值,0表示起点,1表示终点。

Return Value

Vec3
返回线段的起点或终点。如果索引值不是0或1,则返回Vec3.ZERO。
See Also