Microsoft DirectX 9.0 SDK Update (October 2004)

UnsafeNativeMethods.Plane.Normalize Method

Language:

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

Returns the normal of a plane.

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 Normalize( _
    ByVal pOut As Plane, _
    ByVal pPlane As Plane _
) As Plane
C# public static Plane Normalize(
    Plane pOut,
    Plane pPlane
);
Managed C++ public: static Plane Normalize(
    Plane pOut,
    Plane pPlane
);
JScript .NET public static function Normalize(
    pOut : Plane,
    pPlane : Plane
) : Plane;

Parameters

pOut Microsoft.DirectX.Plane. A Plane structure that represents the normal of the plane.
pPlane Microsoft.DirectX.Plane. Source Plane structure.

Return Value

Microsoft.DirectX.Plane . A Plane structure that represents the normal of the plane.

Remarks

This method normalizes a plane so that |a, b, c| == 1.

The return value for this method is the same value returned in the pOut parameter. Resultantly, the Normalize 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