Static Public Member Functions | |
static int | are_connected (const OdeBody &body1, const OdeBody &body2) |
Returns 1 if the given bodies are connected by a joint, returns 0 otherwise. More... | |
static int | are_connected_excluding (const OdeBody &body1, const OdeBody &body2, const int joint_type) |
Returns 1 if the given bodies are connected by a joint that does not match the given joint_type, returns 0 otherwise. More... | |
static OdeJoint | get_connecting_joint (const OdeBody &body1, const OdeBody &body2) |
Returns the joint that connects the given bodies. More... | |
static OdeJointCollection | get_connecting_joint_list (const OdeBody &body1, const OdeBody &body2) |
Returns a collection of joints connecting the specified bodies. More... | |
static dReal | get_infinity () |
static | PT (OdeCollisionEntry) collide(const OdeGeom &geom1 |
static int | rand_get_seed () |
static void | rand_set_seed (int s) |
static OdeGeom | space_to_geom (const OdeSpace &space) |
Public Attributes | |
static const OdeGeom & | geom2 |
static const OdeGeom const short int | max_contacts = 150) |
Static Public Attributes | |
static dReal | OC_infinity = dInfinity |
Returns 1 if the given bodies are connected by a joint, returns 0 otherwise.
Definition at line 50 of file odeUtil.cxx.
References OdeBody::get_id().
|
static |
Returns 1 if the given bodies are connected by a joint that does not match the given joint_type, returns 0 otherwise.
This is useful for deciding whether to add contact joints between two bodies: if they are already connected by non-contact joints then it may not be appropriate to add contacts, however it is okay to add more contact between bodies that already have contacts.
Definition at line 63 of file odeUtil.cxx.
References OdeBody::get_id().
Returns the joint that connects the given bodies.
Definition at line 22 of file odeUtil.cxx.
References OdeBody::get_id().
|
static |
Returns a collection of joints connecting the specified bodies.
Definition at line 30 of file odeUtil.cxx.
References OdeBody::get_id().