|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DSphere
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.ode4j.ode.DGeom |
---|
DGeom.COLLIDER_MERGE_CONTACTS_VALUE, DGeom.CONTROL_CLASS, DGeom.CONTROL_CODE, DGeom.DataValue, DGeom.DNearCallback |
Field Summary |
---|
Fields inherited from interface org.ode4j.ode.DGeom |
---|
dBoxClass, dCapsuleClass, dConvexClass, dCylinderClass, dFirstSpaceClass, dFirstUserClass, dGeomNumClasses, dGeomTransformClass, dHashSpaceClass, dHeightfieldClass, dLastSpaceClass, dLastUserClass, dMaxUserClasses, dPlaneClass, dQuadTreeSpaceClass, dRayClass, dSimpleSpaceClass, dSphereClass, dSweepAndPruneSpaceClass, dTriMeshClass |
Method Summary | |
---|---|
double |
getPointDepth(DVector3C p)
Calculate the depth of the a given point within a sphere. |
double |
getRadius()
Retrieves the radius of a sphere geom. |
void |
setRadius(double radius)
Set the radius of a sphere geom. |
Method Detail |
---|
void setRadius(double radius)
radius
- the new radius.getRadius()
double getRadius()
setRadius(double)
double getPointDepth(DVector3C p)
p
- the X, Y and Z coordinate of the point.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |