Tao.Ode SDK Documentation

Ode.dGeomPlanePointDepth Method 

Return the depth of the point (x,y,z) in the given plane. Points inside the geom will have positive depth, points outside it will have negative depth, and points on the surface will have zero depth.

[Visual Basic]
Public Shared Function dGeomPlanePointDepth( _
   ByVal plane As IntPtr, _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal z As Single _
) As Single
[C#]
public static float dGeomPlanePointDepth(
   IntPtr plane,
   float x,
   float y,
   float z
);

Parameters

plane
the plane to query
x
the x coordinate of the point
y
the y coordinate of the point
z
the z coordinate of the point

Return Value

the depth of the point as a dReal

See Also

Ode Class | Tao.Ode Namespace