Plane.FromPoints(Vector3,Vector3,Vector3) Method (Microsoft.DirectX)

Constructs a plane from three points.

Definition

Visual Basic Public Shared Function FromPoints( _
    ByVal p1 As Vector3, _
    ByVal p2 As Vector3, _
    ByVal p3 As Vector3 _
) As Plane
C# public static Plane FromPoints(
    Vector3 p1,
    Vector3 p2,
    Vector3 p3
);
C++ public:
static Plane FromPoints(
    Vector3 p1,
    Vector3 p2,
    Vector3 p3
);
JScript public static function FromPoints(
    p1 : Vector3,
    p2 : Vector3,
    p3 : Vector3
) : Plane;

Parameters

p1 Microsoft.DirectX.Vector3
A Vector3 structure that defines one of the points used to construct the plane.
p2 Microsoft.DirectX.Vector3
A Vector3 structure that defines one of the points used to construct the plane.
p3 Microsoft.DirectX.Vector3
A Vector3 structure that defines one of the points used to construct the plane.

Return Value

Microsoft.DirectX.Plane
A Plane structure constructed from the given points.

See Also