Table of Contents

Method ToPolygon

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

ToPolygon()

Gets the polygon that closes this chain, joining its last vertex back to its first.

public GeoPolygon3 ToPolygon()

Returns

GeoPolygon3

Exceptions

ArgumentException

Thrown when the chain has fewer than three distinct vertices or is not planar, since a polygon requires both.