38 #ifndef FCL_BROAD_PHASE_SSAP_H 39 #define FCL_BROAD_PHASE_SSAP_H 109 static size_t selectOptimalAxis(
bool setup_
tag about whether the environment is maintained suitably (i.e., the objs_x, objs_y, objs_z are sorted correctly
std::vector< CollisionObject< S > * > objs_x
Objects sorted according to lower x value.
S distance(const Eigen::MatrixBase< DerivedA > &R0, const Eigen::MatrixBase< DerivedB > &T0, const kIOS< S > &b1, const kIOS< S > &b2, Vector3< S > *P, Vector3< S > *Q)
Approximate distance between two kIOS bounding volumes.
std::vector< CollisionObject< S > * > objs_z
Objects sorted according to lower z value.
bool(*)(CollisionObject< S > *o1, CollisionObject< S > *o2, void *cdata) CollisionCallBack
Callback for collision between two objects. Return value is whether can stop now. ...
template FCL_EXPORT std::size_t collide(const CollisionObject< double > *o1, const CollisionObject< double > *o2, const CollisionRequest< double > &request, CollisionResult< double > &result)
bool(*)(CollisionObject< S > *o1, CollisionObject< S > *o2, void *cdata, S &dist) DistanceCallBack
Callback for distance between two objects, Return value is whether can stop now, also return the mini...
Simple SAP collision manager.
the object for collision or distance computation, contains the geometry and the transform information...
std::vector< CollisionObject< S > * > objs_y
Objects sorted according to lower y value.
Base class for broad phase collision. It helps to accelerate the collision/distance between N objects...
CollisionObject< S > * obj
object