Method GetSegmentType
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetSegmentType(int)
Gets what the segment that leaves a vertex is, as AutoCAD's GetSegmentType: a line, an arc, one whose ends are
the same point within the point tolerance, the one vertex of a polyline that has no other, or none for the last vertex
of an open polyline.
public DxfSegmentType GetSegmentType(int index)
Parameters
indexintThe index of the vertex, from nought.
Returns
- DxfSegmentType
What the segment is.
Exceptions
- ArgumentOutOfRangeException
Thrown when there is no vertex of the index.