|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DBox
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 | |
---|---|
DVector3C |
getLengths()
Get the side lengths of a box. |
void |
getLengths(DVector3 result)
Get the side lengths of a box. |
double |
getPointDepth(DVector3C p)
Return the depth of a point in a box. |
void |
setLengths(double lx,
double ly,
double lz)
Set the side lengths of the given box. |
void |
setLengths(DVector3C sides)
Set the side lengths of the given box. |
Method Detail |
---|
void setLengths(double lx, double ly, double lz)
lx
- the length of the box along the X axisly
- the length of the box along the Y axislz
- the length of the box along the Z axisgetLengths()
void getLengths(DVector3 result)
result
- the returned side lengthssetLengths(DVector3C)
void setLengths(DVector3C sides)
sides
- the lengths of the box along the X, Y and Z axesgetLengths()
DVector3C getLengths()
setLengths(DVector3C)
double getPointDepth(DVector3C p)
p
- the X, Y and Z coordinates of the point to test.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |