14 INLINE
void OdeCappedCylinderGeom::
15 set_params(dReal radius, dReal length) {
16 dGeomCapsuleSetParams(_id, radius, length);
19 INLINE
void OdeCappedCylinderGeom::
20 get_params(dReal *radius, dReal *length)
const {
21 dGeomCapsuleGetParams(_id, radius, length);
24 INLINE dReal OdeCappedCylinderGeom::
27 dGeomCapsuleGetParams(_id, &radius, &length);
31 INLINE dReal OdeCappedCylinderGeom::
34 dGeomCapsuleGetParams(_id, &radius, &length);
38 INLINE dReal OdeCappedCylinderGeom::
39 get_point_depth(dReal x, dReal y, dReal z)
const {
40 return dGeomCapsulePointDepth(_id, x, y, z);
43 INLINE dReal OdeCappedCylinderGeom::
44 get_point_depth(
const LPoint3f &p)
const {
45 return get_point_depth(p[0], p[1], p[2]);