ODE  0.13.1
 All Data Structures Functions Variables Typedefs Enumerations Groups

Functions

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

Detailed Description

Function Documentation

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

Create a box geom with the provided side lengths.

Parameters
spacea space to contain the new geom. May be null.
lxthe length of the box along the X axis
lythe length of the box along the Y axis
lzthe 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
void dGeomBoxGetLengths ( dGeomID  box,
dVector3  result 
)

Get the side lengths of a box.

Parameters
boxthe box to query
resultthe returned side lengths
See Also
dGeomBoxSetLengths
void dGeomBoxSetLengths ( dGeomID  box,
dReal  lx,
dReal  ly,
dReal  lz 
)

Set the side lengths of the given box.

Parameters
boxthe box to set
lxthe length of the box along the X axis
lythe length of the box along the Y axis
lzthe length of the box along the Z axis
See Also
dGeomBoxGetLengths