Table of Contents

Method ToGeoPolylineArc2

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ToGeoPolylineArc2()

Gets the polyline as a chain with arcs of the plane, as ToGeoPolylineArc3() reads it, where it lies on the floor as ToGeoPolyline2() says: the polyline above is the GeoPolylineArc2 of a line from (0, 0) to (10, 0) and a half circle to (10, 10).

public GeoPolylineArc2 ToGeoPolylineArc2()

Returns

GeoPolylineArc2

The chain in the plane.

Exceptions

InvalidOperationException

Thrown when the polyline does not lie on the floor, has fewer than two vertices apart, a number of its record is not finite, or it is erased.

ToGeoPolylineArc2(Tolerance)

Gets the polyline as a chain with arcs of the plane, as ToGeoPolylineArc2() does, within a tolerance, which says which vertices are one.

public GeoPolylineArc2 ToGeoPolylineArc2(Tolerance tolerance)

Parameters

tolerance Tolerance

The tolerance, as Tolerance reads it.

Returns

GeoPolylineArc2

The chain in the plane.

Exceptions

InvalidOperationException

Thrown when the polyline does not lie on the floor, has fewer than two vertices apart within the point tolerance, a number of its record is not finite, or it is erased.