Table of Contents

Constructor GeoPolygonArc2

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GeoPolygonArc2(IEnumerable<GeoPoint2>)

Initializes a loop of straight edges.

public GeoPolygonArc2(IEnumerable<GeoPoint2> vertices)

Parameters

vertices IEnumerable<GeoPoint2>

The vertices, in order; at least three distinct ones.

Exceptions

ArgumentNullException

Thrown when the vertices are null.

ArgumentException

Thrown when fewer than three distinct vertices are given.

GeoPolygonArc2(IEnumerable<GeoPoint2>, IEnumerable<double>)

Initializes a loop whose edges may be arcs.

public GeoPolygonArc2(IEnumerable<GeoPoint2> vertices, IEnumerable<double> bulges)

Parameters

vertices IEnumerable<GeoPoint2>

The vertices, in order; at least three distinct ones.

bulges IEnumerable<double>

The bulge of the edge leaving each vertex; null or short means the rest are straight.

Exceptions

ArgumentNullException

Thrown when the vertices are null.

ArgumentException

Thrown when fewer than three distinct vertices are given.

GeoPolygonArc2(GeoPolygon2)

Initializes a loop from a straight polygon, with no bulges.

public GeoPolygonArc2(GeoPolygon2 polygon)

Parameters

polygon GeoPolygon2

The straight polygon to widen.

Exceptions

ArgumentNullException

Thrown when the polygon is null.