OdeGeom¶
from acron.ode import OdeGeom
- class OdeGeom¶
Bases:
Bases:
TypedObjectInheritance diagram
digraph inheritanceda651bc9d7 { 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=""]; "OdeGeom" [URL="acron.ode.OdeGeom.html#acron.ode.OdeGeom",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "OdeGeom" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",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" -> "TypedObject" [arrowsize=0.75,style=""]; }-
enum GeomClass¶
-
enumerator GC_sphere = 0¶
-
enumerator GC_box = 1¶
-
enumerator GC_capped_cylinder = 2¶
-
enumerator GC_cylinder = 3¶
-
enumerator GC_plane = 4¶
-
enumerator GC_ray = 5¶
-
enumerator GC_tri_mesh = 8¶
GC_convex, GC_geom_transform,
-
enumerator GC_simple_space = 10¶
-
enumerator GC_hash_space = 11¶
-
enumerator GC_quad_tree_space = 12¶
-
enumerator GC_sphere = 0¶
- clear_offset()¶
- compare_to()¶
- convert()¶
- convert_to_box()¶
- convert_to_capped_cylinder()¶
- convert_to_cylinder()¶
OdeConvexGeom convert_to_convex() const;
- convert_to_hash_space()¶
- convert_to_plane()¶
OdeHeightfieldGeom convert_to_heightfield() const;
- convert_to_quad_tree_space()¶
- convert_to_ray()¶
- convert_to_simple_space()¶
- convert_to_sphere()¶
- convert_to_tri_mesh()¶
- destroy()¶
- disable()¶
- enable()¶
- get_AABB()¶
- get_AA_bounds()¶
- get_body()¶
- get_category_bits()¶
- get_class()¶
- static get_class_type()¶
- get_collide_bits()¶
- get_converted_space()¶
- get_id()¶
Returns the underlying dGeomID.
- get_offset_position()¶
- get_offset_quaternion()¶
- get_offset_rotation()¶
- get_position()¶
- get_quaternion()¶
- get_rotation()¶
- get_space()¶
- has_body()¶
- is_empty()¶
Returns true if the ID is 0, meaning the
OdeGeomdoes not point to a valid geom. It is an error to call a method on an empty geom. Note that an emptyOdeGeomalso evaluates to False.
- is_enabled()¶
- is_offset()¶
- is_space()¶
- set_body()¶
INLINE void set_data(void* data);
- set_category_bits()¶
- set_collide_bits()¶
- set_offset_position()¶
- set_offset_quaternion()¶
- set_offset_rotation()¶
- set_offset_world_position()¶
- set_offset_world_quaternion()¶
- set_offset_world_rotation()¶
- set_position()¶
- set_quaternion()¶
- set_rotation()¶
- write()¶
-
enum GeomClass¶