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