Plane.FromPoints Method

Language:

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


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center