38 #ifndef FCL_CONTINUOUS_COLLISION_OBJECT_INL_H
39 #define FCL_CONTINUOUS_COLLISION_OBJECT_INL_H
54 : cgeom(cgeom_), cgeom_const(cgeom_)
64 : cgeom(cgeom_), cgeom_const(cgeom), motion(motion_)
80 return cgeom->getObjectType();
87 return cgeom->getNodeType();
104 motion->getTaylorModel(R, T);
107 box = (R * p + T).getTightBound();
109 p[2] = cgeom->aabb_local.max_[2];
110 box =
bound(box, (R * p + T).getTightBound());
112 p[1] = cgeom->aabb_local.max_[1];
113 p[2] = cgeom->aabb_local.min_[2];
114 box =
bound(box, (R * p + T).getTightBound());
116 p[2] = cgeom->aabb_local.max_[2];
117 box =
bound(box, (R * p + T).getTightBound());
119 p[0] = cgeom->aabb_local.max_[0];
120 p[1] = cgeom->aabb_local.min_[1];
121 p[2] = cgeom->aabb_local.min_[2];
122 box =
bound(box, (R * p + T).getTightBound());
124 p[2] = cgeom->aabb_local.max_[2];
125 box =
bound(box, (R * p + T).getTightBound());
127 p[1] = cgeom->aabb_local.max_[1];
128 p[2] = cgeom->aabb_local.min_[2];
129 box =
bound(box, (R * p + T).getTightBound());
131 p[2] = cgeom->aabb_local.max_[2];
132 box =
bound(box, (R * p + T).getTightBound());
139 template <
typename S>
146 template <
typename S>
153 template <
typename S>
160 template <
typename S>
168 template <
typename S>
169 const std::shared_ptr<const CollisionGeometry<S>>&