Table of Contents

Method ToGeoPolygon3

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ToGeoPolygon3()

Gets the area of the solid as the library's polygon, as GetGeometry() gives it, to the bit: its corners in the world in DXF's order 1, 2, 4, 3, a fourth the same as the third to the bit a triangle. The square of side 2 written (0, 0), (2, 0), (0, 2), (2, 2) is the GeoPolygon3 (0, 0, 0), (2, 0, 0), (2, 2, 0), (0, 2, 0).

public GeoPolygon3 ToGeoPolygon3()

Returns

GeoPolygon3

The polygon, in world coordinates.

Exceptions

InvalidOperationException

Thrown when the solid encloses no area within the default tolerance, a number of its record is not finite, or it is erased.