OdeUtil

class OdeUtil

Inheritance diagram

digraph inheritance4e37af8e9f { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "OdeUtil" [URL="acron.ode.OdeUtil.html#acron.ode.OdeUtil",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "OdeUtil" [arrowsize=0.75,style=""]; }
OdeUtil.__init__()
static OdeUtil.are_connected()

Returns 1 if the given bodies are connected by a joint, returns 0 otherwise.

static OdeUtil.are_connected_excluding()

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.

static OdeUtil.collide()

Given two geometry objects that potentially touch (geom1 and geom2), generate contact information for them. Returns an OdeCollisionEntry.

static OdeUtil.collide2()
static OdeUtil.get_connecting_joint()

Returns the joint that connects the given bodies.

static OdeUtil.get_connecting_joint_list()

Returns a collection of joints connecting the specified bodies.

static OdeUtil.get_infinity()

RAU we can’t access OC_infinity as constants are not exposed in python

static OdeUtil.rand_get_seed()
static OdeUtil.rand_set_seed()
static OdeUtil.space_to_geom()