Public Types | Public Member Functions | Public Attributes
collision_detection::CollisionResult Struct Reference

Representation of a collision checking result. More...

#include <collision_common.h>

List of all members.

Public Types

typedef std::map< std::pair
< std::string, std::string >
, std::vector< Contact > > 
ContactMap

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW
void 
clear ()
 Clear a previously stored result.
 CollisionResult ()

Public Attributes

bool collision
 True if collision was found, false otherwise.
std::size_t contact_count
 Number of contacts returned.
ContactMap contacts
 A map returning the pairs of ids of the bodies in contact, plus information about the contacts themselves.
std::set< CostSourcecost_sources
 When costs are computed, the individual cost sources are.
double distance
 Closest distance between two bodies.

Detailed Description

Representation of a collision checking result.

Definition at line 135 of file include/moveit/collision_detection/collision_common.h.


Member Typedef Documentation

typedef std::map<std::pair<std::string, std::string>, std::vector<Contact> > collision_detection::CollisionResult::ContactMap

Constructor & Destructor Documentation


Member Function Documentation

Clear a previously stored result.

Definition at line 145 of file include/moveit/collision_detection/collision_common.h.


Member Data Documentation

True if collision was found, false otherwise.

Definition at line 155 of file include/moveit/collision_detection/collision_common.h.

Number of contacts returned.

Definition at line 161 of file include/moveit/collision_detection/collision_common.h.

A map returning the pairs of ids of the bodies in contact, plus information about the contacts themselves.

Definition at line 165 of file include/moveit/collision_detection/collision_common.h.

When costs are computed, the individual cost sources are.

Definition at line 168 of file include/moveit/collision_detection/collision_common.h.

Closest distance between two bodies.

Definition at line 158 of file include/moveit/collision_detection/collision_common.h.


The documentation for this struct was generated from the following file:


moveit_core
Author(s): Ioan Sucan , Sachin Chitta , Acorn Pooley
autogenerated on Mon Apr 23 2018 10:24:46