Microsoft DirectX 9.0 SDK Update (October 2004)

UnsafeNativeMethods.Plane.FromPoints Method

Language:

Note: This documentation is preliminary and is subject to change.

Constructs a plane from three points.

Note: For programming in Microsoft® Visual Basic® .NET or Microsoft® JScript® .NET, use the equivalent method in the Microsoft.DirectX structures.

Definition

Visual Basic .NET Public Shared Function FromPoints( _
    ByVal pOut As Plane, _
    ByVal pPoint1 As Vector3, _
    ByVal pPoint2 As Vector3, _
    ByVal pPoint3 As Vector3 _
) As Plane
C# public static Plane FromPoints(
    Plane pOut,
    Vector3 pPoint1,
    Vector3 pPoint2,
    Vector3 pPoint3
);
Managed C++ public: static Plane FromPoints(
    Plane pOut,
    Vector3 pPoint1,
    Vector3 pPoint2,
    Vector3 pPoint3
);
JScript .NET public static function FromPoints(
    pOut : Plane,
    pPoint1 : Vector3,
    pPoint2 : Vector3,
    pPoint3 : Vector3
) : Plane;

Parameters

pOut Microsoft.DirectX.Plane. A Plane structure constructed from the given points.
pPoint1 Microsoft.DirectX.Vector3. A Vector3 structure that defines one of the points used to construct the plane.
pPoint2 Microsoft.DirectX.Vector3. A Vector3 structure that defines one of the points used to construct the plane.
pPoint3 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.

Remarks

The return value for this method is the same value returned in the pOut parameter. Resultantly, the FromPoints method can be used as a parameter for another method.

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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