Tao.Ode SDK Documentation

Ode.dGeomSpherePointDepth Method 

Return the depth of the point (x,y,z) in the given sphere. 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 dGeomSpherePointDepth( _
   ByVal sphere As IntPtr, _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal z As Single _
) As Single
[C#]
public static float dGeomSpherePointDepth(
   IntPtr sphere,
   float x,
   float y,
   float z
);

Parameters

sphere
A dGeomID
x
A dReal
y
A dReal
z
A dReal

Return Value

A dReal

See Also

Ode Class | Tao.Ode Namespace