15 INLINE
void OdeCappedCylinderGeom::
16 set_params(dReal radius, dReal length) {
17 dGeomCapsuleSetParams(_id, radius, length);
20 INLINE
void OdeCappedCylinderGeom::
21 get_params(dReal *radius, dReal *length)
const {
22 dGeomCapsuleGetParams(_id, radius, length);
25 INLINE dReal OdeCappedCylinderGeom::
28 dGeomCapsuleGetParams(_id, &radius, &length);
32 INLINE dReal OdeCappedCylinderGeom::
35 dGeomCapsuleGetParams(_id, &radius, &length);
39 INLINE dReal OdeCappedCylinderGeom::
40 get_point_depth(dReal x, dReal y, dReal z)
const {
41 return dGeomCapsulePointDepth(_id, x, y, z);
44 INLINE dReal OdeCappedCylinderGeom::
45 get_point_depth(
const LPoint3f &p)
const {
46 return get_point_depth(p[0], p[1], p[2]);
This is a three-component point in space (as opposed to a three-component vector, which represents a ...