Method FromThreePoints
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
FromThreePoints(GeoPoint3, GeoPoint3, GeoPoint3)
Creates the plane through three points, oriented by the right-hand rule so that the points run counter-clockwise when seen from the side the normal points towards.
public static GeoPlane3 FromThreePoints(GeoPoint3 p1, GeoPoint3 p2, GeoPoint3 p3)
Parameters
Returns
- GeoPlane3
The plane through the three points.
Exceptions
- ArgumentException
Thrown when the three points are collinear or two of them coincide, since such a set does not pin down a plane.