Table of Contents

Constructor GeoEdge3

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GeoEdge3(GeoPoint3, GeoPoint3)

Initializes a straight edge between two points.

public GeoEdge3(GeoPoint3 startPoint, GeoPoint3 endPoint)

Parameters

startPoint GeoPoint3
endPoint GeoPoint3

GeoEdge3(GeoPoint3, GeoPoint3, double, GeoVector3)

Initializes an edge between two points, bulging by a given amount in a given plane.

public GeoEdge3(GeoPoint3 startPoint, GeoPoint3 endPoint, double bulge, GeoVector3 normal)

Parameters

startPoint GeoPoint3

The point the edge starts from.

endPoint GeoPoint3

The point the edge ends at.

bulge double

The bulge; nought for a straight segment, in which case the normal is ignored.

normal GeoVector3

The normal of the plane the arc bulges in; it need not be of unit length.

Exceptions

ArgumentOutOfRangeException

Thrown when the bulge is not a number.

ArgumentException

Thrown when a bulge that is not nought comes with a normal of no length, or with one the chord does not lie square to, since neither describes a plane the arc could bulge in.

GeoEdge3(GeoPoint3, GeoPoint3, double, GeoVector3, Tolerance)

Initializes an edge between two points, bulging by a given amount in a given plane, within a tolerance.

public GeoEdge3(GeoPoint3 startPoint, GeoPoint3 endPoint, double bulge, GeoVector3 normal, Tolerance tolerance)

Parameters

startPoint GeoPoint3

The point the edge starts from.

endPoint GeoPoint3

The point the edge ends at.

bulge double

The bulge; nought for a straight segment, in which case the normal is ignored.

normal GeoVector3

The normal of the plane the arc bulges in; it need not be of unit length.

tolerance Tolerance

The tolerance, which decides how square to the chord the normal must be.

GeoEdge3(GeoArc3)

Initializes an edge from an arc in space.

public GeoEdge3(GeoArc3 arc)

Parameters

arc GeoArc3

The arc; a whole turn cannot be held as one edge, because its ends meet.

Exceptions

ArgumentException

Thrown when the arc closes on itself, leaving no chord.