15 #ifndef ODECAPPEDCYLINDERGEOM_H
16 #define ODECAPPEDCYLINDERGEOM_H
18 #include "pandabase.h"
19 #include "typedObject.h"
22 #include "ode_includes.h"
40 INLINE
void set_params(dReal radius, dReal length);
41 INLINE
void get_params(dReal *radius, dReal *length)
const;
42 INLINE dReal get_radius()
const;
43 INLINE dReal get_length()
const;
44 INLINE dReal get_point_depth(dReal x, dReal y, dReal z)
const;
45 INLINE dReal get_point_depth(
const LPoint3f &p)
const;
48 INLINE
static int get_geom_class() {
return dCapsuleClass; };
54 static void init_type() {
56 register_type(_type_handle,
"OdeCappedCylinderGeom",
57 OdeGeom::get_class_type());
60 return get_class_type();
62 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
68 #include "odeCappedCylinderGeom.I"
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
TypeHandle is the identifier used to differentiate C++ class types.