Table of Contents

Method GetLineSegment2dAt

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetLineSegment2dAt(int)

Gets the line segment that leaves a vertex in the system of the polyline's normal, as AutoCAD's GetLineSegment2dAt.

public GeoLine2 GetLineSegment2dAt(int index)

Parameters

index int

The index of the vertex, from nought.

Returns

GeoLine2

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.