Table of Contents

Method ToGeoPolyline3

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ToGeoPolyline3()

Gets the curve of a straight leader as the library's chain, as GetGeometry() gives it, to the bit: the GeoPolyline3 through its vertices in the world, a vertex within the point tolerance of the one kept before it left out. The leader through (0, 0, 0), (10, 10, 0) and (20, 10, 0) is that chain of two segments. A splined leader is refused: ToGeoSpline3() gives it.

public GeoPolyline3 ToGeoPolyline3()

Returns

GeoPolyline3

The chain, in world coordinates.

Exceptions

InvalidOperationException

Thrown when the leader is splined, has fewer than two vertices apart, a number of its record is not finite, or it is erased.