14 #ifndef ODECAPPEDCYLINDERGEOM_H 15 #define ODECAPPEDCYLINDERGEOM_H 38 INLINE
void set_params(dReal radius, dReal length);
39 INLINE
void get_params(dReal *radius, dReal *length)
const;
40 INLINE dReal get_radius()
const;
41 INLINE dReal get_length()
const;
42 INLINE dReal get_point_depth(dReal x, dReal y, dReal z)
const;
43 INLINE dReal get_point_depth(
const LPoint3f &p)
const;
46 INLINE
static int get_geom_class() {
return dCapsuleClass; };
52 static void init_type() {
55 OdeGeom::get_class_type());
58 return get_class_type();
60 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.