Table of Contents

Method FromThreePoints

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

FromThreePoints(GeoPoint3, GeoPoint3, GeoPoint3)

Creates the arc through three points in space, using the default tolerance.

public static GeoArc3 FromThreePoints(GeoPoint3 start, GeoPoint3 middle, GeoPoint3 end)

Parameters

start GeoPoint3
middle GeoPoint3
end GeoPoint3

Returns

GeoArc3

FromThreePoints(GeoPoint3, GeoPoint3, GeoPoint3, Tolerance)

Creates the arc through three points in space, within a tolerance.

public static GeoArc3 FromThreePoints(GeoPoint3 start, GeoPoint3 middle, GeoPoint3 end, Tolerance tolerance)

Parameters

start GeoPoint3

Where the arc starts.

middle GeoPoint3

A point the arc passes through between its ends.

end GeoPoint3

Where the arc ends.

tolerance Tolerance

The tolerance.

Returns

GeoArc3

The arc from the start through the middle to the end, in the plane the three points share.

Remarks

Three points that do not share a line settle the plane as well as the arc, so nothing else has to be given. The work is done in that plane by FromThreePoints(GeoPoint2, GeoPoint2, GeoPoint2, Tolerance).

Exceptions

InvalidOperationException

Thrown when the three points share a line, so no circle passes through them.