Table of Contents

Method ToPolygonArc2

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

ToPolygonArc2()

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

public GeoPolygonArc2 ToPolygonArc2()

Returns

GeoPolygonArc2

The loop, with every arc kept.

Remarks

A chain whose ends already meet gives a loop with that repeated vertex dropped, because a loop closes itself.

Exceptions

InvalidOperationException

Thrown when the chain has too few distinct vertices to close.