Table of Contents

Method ToGeoPolygonArc2

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ToGeoPolygonArc2()

Gets the polyline as a loop with arcs of the plane, as ToGeoPolygonArc3() reads it, where it lies on the floor as ToGeoPolyline2() says.

public GeoPolygonArc2 ToGeoPolygonArc2()

Returns

GeoPolygonArc2

The loop in the plane.

Exceptions

InvalidOperationException

Thrown when the polyline does not lie on the floor, encloses no area, a number of its record is not finite, or it is erased.

ToGeoPolygonArc2(Tolerance)

Gets the polyline as a loop with arcs of the plane, as ToGeoPolygonArc2() does, within a tolerance, which says which vertices are one and whether it encloses an area.

public GeoPolygonArc2 ToGeoPolygonArc2(Tolerance tolerance)

Parameters

tolerance Tolerance

The tolerance, as Tolerance reads it.

Returns

GeoPolygonArc2

The loop in the plane.

Exceptions

InvalidOperationException

Thrown when the polyline does not lie on the floor, encloses no area within the tolerance, a number of its record is not finite, or it is erased.