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.

Remarks

A chord is refused only where the two points are one to the last digit, as the edge in the plane refuses only a chord of nought: an edge 1E-6 long is an arc, where the vector tolerance read against its length refused it.

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, or when the two points are one, so there is no chord to bulge.

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.

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 within the tolerance, or when the two points are one to the last digit, or when a bulge that is not nought comes with a point that is not a finite one.

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.

Remarks

An arc is told from a whole turn by its sweep, as GeoEdge2(GeoArc2) tells it, so the arc of radius 1E-6 sweeping 1.3 radians is an edge, where its chord read against the vector tolerance refused it.

Exceptions

ArgumentException

Thrown when the arc sweeps a whole turn, to 1E-12 of a radian, or its ends are one point to the last digit, leaving no chord.