Method GetLineSegmentAt
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetLineSegmentAt(int)
Gets the line segment that leaves a vertex in the world, as AutoCAD's GetLineSegmentAt.
public GeoLine3 GetLineSegmentAt(int index)
Parameters
indexintThe index of the vertex, from nought.
Returns
- GeoLine3
The segment, from the vertex to the next.
Exceptions
- ArgumentOutOfRangeException
Thrown when there is no vertex of the index.
- InvalidOperationException
Thrown when the segment is not a line.