# OdeRayGeom

from pandac.PandaModules import OdeRayGeom

Class : OdeRayGeom
Description :

## Inheritance:

OdeRayGeom: OdeGeom
OdeGeom: TypedObject
TypedObject: MemoryBase
MemoryBase:

## Methods of OdeRayGeom:

OdeRayGeom (Constructor)
get
getBackfaceCull
getClassType
getClosestHit
getDirection
getFirstContact
getLength
getParams
getStart
set
setClosestHit
setLength
setParams

## Methods of OdeGeom:

clearOffset
compareTo
convertToBox
convertToCappedCylinder
convertToCylinder
convertToHashSpace
convertToPlane
convertToQuadTreeSpace
convertToRay
convertToSimpleSpace
convertToSphere
convertToTriMesh
destroy
disable
enable
getAABB
getBody
getCategoryBits
getClass
getClassType
getCollideBits
getOffsetPosition
getOffsetQuaternion
getOffsetRotation
getPosition
getQuaternion
getRotation
getSpace
hasBody
isEmpty
isEnabled
isOffset
isSpace
setBody
setCategoryBits
setCollideBits
setOffsetPosition
setOffsetQuaternion
setOffsetRotation
setOffsetWorldPosition
setOffsetWorldQuaternion
setOffsetWorldRotation
setPosition
setQuaternion
setRotation
write

## Methods of TypedObject:

getClassType
getType
getTypeIndex
isExactType
isOfType

## Constants in OdeGeom:

GCSphere | (GeomClass)
GCBox | (GeomClass)
GCCappedCylinder | (GeomClass)
GCCylinder | (GeomClass)
GCPlane | (GeomClass)
GCRay | (GeomClass)
GCTriMesh | (GeomClass)
GCSimpleSpace | (GeomClass)
GCHashSpace | (GeomClass)
GCQuadTreeSpace | (GeomClass)

OdeRayGeom OdeRayGeom::OdeRayGeom(float length); Undocumented function.

get void OdeRayGeom::get(LVecBase3f &start, LVecBase3f &dir) const; Undocumented function.

getBackfaceCull int OdeRayGeom::get_backface_cull(void) const; Undocumented function.

getClassType static TypeHandle OdeRayGeom::get_class_type(void); Undocumented function.

getClosestHit int OdeRayGeom::get_closest_hit(void); Undocumented function.

getDirection LVecBase3f OdeRayGeom::get_direction(void) const; Undocumented function.

getFirstContact int OdeRayGeom::get_first_contact(void) const; Undocumented function.

getLength float OdeRayGeom::get_length(void); Undocumented function.

getParams void OdeRayGeom::get_params(int &first_contact, int &backface_cull) const; Undocumented function.

getStart LVecBase3f OdeRayGeom::get_start(void) const; Undocumented function.

set void OdeRayGeom::set(float px, float py, float pz, float dx, float dy, float dz); Undocumented function.

setClosestHit void OdeRayGeom::set_closest_hit(int closest_hit); Undocumented function.

setLength void OdeRayGeom::set_length(float length); Undocumented function.

setParams void OdeRayGeom::set_params(int first_contact, int backface_cull); Undocumented function.

clearOffset void OdeGeom::clear_offset(void); Undocumented function.

compareTo int OdeGeom::compare_to(OdeGeom const &other) const; Undocumented function.

convertToBox OdeBoxGeom OdeGeom::convert_to_box(void) const; Undocumented function.

convertToCappedCylinder OdeCappedCylinderGeom OdeGeom::convert_to_capped_cylinder(void) const; Undocumented function.

convertToCylinder OdeCylinderGeom OdeGeom::convert_to_cylinder(void) const; OdeConvexGeom convert_to_convex() const;

convertToHashSpace OdeHashSpace OdeGeom::convert_to_hash_space(void) const; Undocumented function.

convertToPlane OdePlaneGeom OdeGeom::convert_to_plane(void) const; OdeHeightfieldGeom convert_to_heightfield() const;

convertToQuadTreeSpace OdeQuadTreeSpace OdeGeom::convert_to_quad_tree_space(void) const; Undocumented function.

convertToRay OdeRayGeom OdeGeom::convert_to_ray(void) const; OdeHeightfieldGeom convert_to_heightfield() const;

convertToSimpleSpace OdeSimpleSpace OdeGeom::convert_to_simple_space(void) const; Undocumented function.

convertToSphere OdeSphereGeom OdeGeom::convert_to_sphere(void) const; Undocumented function.

convertToTriMesh OdeTriMeshGeom OdeGeom::convert_to_tri_mesh(void) const; Undocumented function.

destroy void OdeGeom::destroy(void); Undocumented function.

disable void OdeGeom::disable(void); Undocumented function.

enable void OdeGeom::enable(void); Undocumented function.

getAABB void OdeGeom::get_AABB(LVecBase3f &min, LVecBase3f &max) const; Undocumented function.

getBody OdeBody OdeGeom::get_body(void) const; Undocumented function.

getCategoryBits BitMask< unsigned int, 32 > OdeGeom::get_category_bits(void); Undocumented function.

getClass int OdeGeom::get_class(void) const; Undocumented function.

getClassType static TypeHandle OdeGeom::get_class_type(void); Undocumented function.

getCollideBits BitMask< unsigned int, 32 > OdeGeom::get_collide_bits(void); Undocumented function.

getOffsetPosition LPoint3f OdeGeom::get_offset_position(void) const; Undocumented function.

getOffsetQuaternion LQuaternionf OdeGeom::get_offset_quaternion(void) const; Undocumented function.

getOffsetRotation LMatrix3f OdeGeom::get_offset_rotation(void) const; Undocumented function.

getPosition LPoint3f OdeGeom::get_position(void) const; Undocumented function.

getQuaternion LQuaternionf OdeGeom::get_quaternion(void) const; Undocumented function.

getRotation LMatrix3f OdeGeom::get_rotation(void) const; Undocumented function.

getSpace OdeSpace OdeGeom::get_space(void) const; Undocumented function.

hasBody bool OdeGeom::has_body(void) const; INLINE void set_data(void* data);

isEmpty bool OdeGeom::is_empty(void) const; Description: Returns true if the ID is 0, meaning the OdeGeom does not point to a valid geom. It is an error to call a method on an empty geom. Note that an empty OdeGeom also evaluates to False.

isEnabled int OdeGeom::is_enabled(void); Undocumented function.

isOffset int OdeGeom::is_offset(void); Undocumented function.

isSpace int OdeGeom::is_space(void); Undocumented function.

setBody void OdeGeom::set_body(OdeBody &body); INLINE void set_data(void* data);

setCategoryBits void OdeGeom::set_category_bits(BitMask< unsigned int, 32 > const &bits); Undocumented function.

setCollideBits void OdeGeom::set_collide_bits(BitMask< unsigned int, 32 > const &bits); Undocumented function.

setOffsetPosition void OdeGeom::set_offset_position(float x, float y, float z); Undocumented function.

setOffsetQuaternion void OdeGeom::set_offset_quaternion(LQuaternionf const &q); Undocumented function.

setOffsetRotation void OdeGeom::set_offset_rotation(LMatrix3f const &r); Undocumented function.

setOffsetWorldPosition void OdeGeom::set_offset_world_position(float x, float y, float z); Undocumented function.

setOffsetWorldQuaternion void OdeGeom::set_offset_world_quaternion(LQuaternionf const &q); Undocumented function.

setOffsetWorldRotation void OdeGeom::set_offset_world_rotation(LMatrix3f const &r); Undocumented function.

setPosition void OdeGeom::set_position(float x, float y, float z); Undocumented function.

setQuaternion void OdeGeom::set_quaternion(LQuaternionf const &q); Undocumented function.

setRotation void OdeGeom::set_rotation(LMatrix3f const &r); Undocumented function.

write virtual void OdeGeom::write(ostream &out = (cout), unsigned int indent = (0)) const; Undocumented function.

getClassType static TypeHandle TypedObject::get_class_type(void); Undocumented function.

getType virtual TypeHandle TypedObject::get_type(void) const = 0; Derived classes should override this function to return get_class_type().

getTypeIndex int TypedObject::get_type_index(void) const; Description: Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. This is equivalent to get_type().get_index().

isExactType bool TypedObject::is_exact_type(TypeHandle handle) const; Description: Returns true if the current object is the indicated type exactly.

isOfType bool TypedObject::is_of_type(TypeHandle handle) const; Description: Returns true if the current object is or derives from the indicated type.