Table of Contents

Constructor GeoPolygonArc3

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GeoPolygonArc3(IEnumerable<GeoPoint3>)

Initializes a loop of straight pieces.

public GeoPolygonArc3(IEnumerable<GeoPoint3> vertices)

Parameters

vertices IEnumerable<GeoPoint3>

Exceptions

ArgumentNullException

Thrown when the vertices are null.

ArgumentException

Thrown when fewer than three distinct vertices are given, or they are not coplanar.

GeoPolygonArc3(IEnumerable<GeoPoint3>, IEnumerable<double>, IEnumerable<GeoVector3>)

Initializes a loop whose pieces may be arcs.

public GeoPolygonArc3(IEnumerable<GeoPoint3> vertices, IEnumerable<double> bulges, IEnumerable<GeoVector3> normals)

Parameters

vertices IEnumerable<GeoPoint3>

The vertices, in order; at least three, and no two neighbours in the same place.

bulges IEnumerable<double>

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

normals IEnumerable<GeoVector3>

The plane each bulge is read about; only wanted where a bulge is not nought.

GeoPolygonArc3(IEnumerable<GeoPoint3>, IEnumerable<double>, IEnumerable<GeoVector3>, Tolerance)

Initializes a loop whose pieces may be arcs, within a tolerance.

public GeoPolygonArc3(IEnumerable<GeoPoint3> vertices, IEnumerable<double> bulges, IEnumerable<GeoVector3> normals, Tolerance tolerance)

Parameters

vertices IEnumerable<GeoPoint3>

The vertices, in order; at least three, and no two neighbours in the same place.

bulges IEnumerable<double>

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

normals IEnumerable<GeoVector3>

The plane each bulge is read about; only wanted where a bulge is not nought.

tolerance Tolerance

The tolerance; the planar threshold decides how flat is flat enough.

Exceptions

ArgumentException

Thrown when fewer than three distinct vertices are given, when they do not lie in one plane, or when an arc bulges out of that plane.

GeoPolygonArc3(IEnumerable<GeoEdge3>)

Initializes a loop from edges that run end to end and close.

public GeoPolygonArc3(IEnumerable<GeoEdge3> edges)

Parameters

edges IEnumerable<GeoEdge3>

Exceptions

ArgumentException

Thrown when the edges do not run end to end, do not close, or are not coplanar.

GeoPolygonArc3(GeoPolygon3)

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

public GeoPolygonArc3(GeoPolygon3 polygon)

Parameters

polygon GeoPolygon3

Exceptions

ArgumentNullException

Thrown when the polygon is null.

GeoPolygonArc3(GeoCoordinateSystem3, GeoPolygonArc2)

Initializes a loop by lifting one out of a frame into the plane of that frame in space.

public GeoPolygonArc3(GeoCoordinateSystem3 frame, GeoPolygonArc2 loop)

Parameters

frame GeoCoordinateSystem3

The frame the loop is laid out in.

loop GeoPolygonArc2

The loop in the plane.

Exceptions

ArgumentNullException

Thrown when the loop is null.