|   |   |   | 
| UnsafeNativeMethods.Plane.DotCoordinate Method | Language: | 
Computes the dot product of a plane and a 3-D vector. The w parameter of the vector is assumed to be 1.
Visual Basic Public Shared Function DotCoordinate( _ 
ByVal pPlane As Plane, _
ByVal pV As Vector3 _
) As SingleC# public static float DotCoordinate( 
Plane pPlane,
Vector3 pV
);C++ public: 
static float DotCoordinate(
Plane pPlane,
Vector3 pV
);JScript public static function DotCoordinate( 
pPlane : Plane,
pV : Vector3
) : float;
pPlane Microsoft.DirectX.Plane 
Source Plane structure.pV Microsoft.DirectX.Vector3 
Source Vector3 structure.
System.Single
A Singlevalue that is the dot product of the plane and the vector.
Given a plane (a, b, c, d) and a 3-D vector (x, y, z) the return value of this function is a*x + b*y + c*z + d*1. The DotCoordinate method is useful for determining the plane's relationship with a coordinate in 3-D space.
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