Box Class
[Collision Detection]


Functions

ODE_API dGeomID dCreateBox (dSpaceID space, dReal lx, dReal ly, dReal lz)
 Create a box geom with the provided side lengths.
ODE_API void dGeomBoxSetLengths (dGeomID box, dReal lx, dReal ly, dReal lz)
 Set the side lengths of the given box.
ODE_API void dGeomBoxGetLengths (dGeomID box, dVector3 result)
 Get the side lengths of a box.

Function Documentation

ODE_API dGeomID dCreateBox ( dSpaceID  space,
dReal  lx,
dReal  ly,
dReal  lz 
)

Create a box geom with the provided side lengths.

Parameters:
space a space to contain the new geom. May be null.
lx the length of the box along the X axis
ly the length of the box along the Y axis
lz the length of the box along the Z axis
Returns:
A new box geom.
Remarks:
The point of reference for a box is its center.
See also:
dGeomDestroy

dGeomBoxSetLengths

ODE_API void dGeomBoxGetLengths ( dGeomID  box,
dVector3  result 
)

Get the side lengths of a box.

Parameters:
box the box to query
result the returned side lengths
See also:
dGeomBoxSetLengths

ODE_API void dGeomBoxSetLengths ( dGeomID  box,
dReal  lx,
dReal  ly,
dReal  lz 
)

Set the side lengths of the given box.

Parameters:
box the box to set
lx the length of the box along the X axis
ly the length of the box along the Y axis
lz the length of the box along the Z axis
See also:
dGeomBoxGetLengths


Generated on Fri Oct 12 08:36:51 2007 for Open Dynamics Engine by  doxygen 1.5.3