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: the closed polyline (0, 0), (10, 0), (10, 10), (0, 10) with a bulge of
-0.25 on its second vertex is the GeoPolygonArc2 of those corners and that bulge, as the AutoCAD bridge's
ToGeoPolygonArc2 reads it from AutoCAD.
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
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.