Struct CollisionResult
Defined in File collision_data.h
Inheritance Relationships
Base Type
public hpp::fcl::QueryResult
(Struct QueryResult)
Struct Documentation
-
struct CollisionResult : public hpp::fcl::QueryResult
collision result
Public Functions
-
inline CollisionResult()
-
inline void updateDistanceLowerBound(const FCL_REAL &distance_lower_bound_)
Update the lower bound only if the distance is inferior.
-
inline bool operator==(const CollisionResult &other) const
whether two CollisionResult are the same or not
-
inline bool isCollision() const
return binary collision result
-
inline size_t numContacts() const
number of contacts found
-
inline void clear()
clear the results obtained
Public Members
-
FCL_REAL distance_lower_bound
Lower bound on distance between objects if they are disjoint. See Collision
Note
computed only on request (or if it does not add any computational overhead).
-
Vec3f nearest_points[2]
nearest points available only when distance_lower_bound is inferior to CollisionRequest::break_distance.
-
inline CollisionResult()