Initializes a new instance of Plane from three points.

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.9.0.0 (1.9.3.9490)

Syntax

C#
public Plane(
	Vector3F point0,
	Vector3F point1,
	Vector3F point2
)
Visual Basic
Public Sub New ( _
	point0 As Vector3F, _
	point1 As Vector3F, _
	point2 As Vector3F _
)
Visual C++
public:
Plane(
	Vector3F point0, 
	Vector3F point1, 
	Vector3F point2
)

Parameters

point0
Type: DigitalRune.Mathematics.Algebra..::..Vector3F
A point on the plane.
point1
Type: DigitalRune.Mathematics.Algebra..::..Vector3F
A point on the plane.
point2
Type: DigitalRune.Mathematics.Algebra..::..Vector3F
A point on the plane.

Remarks

This constructor creates a Plane from three points in the plane. The points must be ordered counter-clockwise. The front-face (which points into the empty half-space) is defined through the counter-clockwise order of the points.

The result is undefined if the points lie on a line.

See Also