38 #ifndef FCL_COLLISIONRESULT_H 39 #define FCL_COLLISIONRESULT_H 52 struct FCL_EXPORT CollisionResult
71 void addCostSource(
const CostSource<S>& c, std::size_t num_max_cost_sources);
74 bool isCollision()
const;
77 size_t numContacts()
const;
80 size_t numCostSources()
const;
86 void getContacts(std::vector<
Contact<S>>& contacts_);
89 void getCostSources(std::vector<
CostSource<S>>& cost_sources_);
std::set< CostSource< S > > cost_sources
cost sources
std::vector< Contact< S > > contacts
contact information
Eigen::Matrix< S, 3, 1 > Vector3
Vector3< S > cached_gjk_guess
Cost source describes an area with a cost. The area is described by an AABB<S> region.