PPL API Reference |
|
---|
Public Member Functions | |
Construction | |
CDInfo (const bool _retAllInfo=false) | |
void | ResetVars (const bool _retAllInfo=false) |
Ordering | |
bool | operator< (const CDInfo &_cdInfo) const noexcept |
Public Types | |
Local Types | |
typedef std::pair< int, int > | CollisionPair |
Public Attributes | |
Internal State | |
bool | m_retAllInfo |
Consider all collisions or only the first? | |
int | m_collidingObstIndex |
Index for first discovered obstacle collision. | |
int | m_nearestObstIndex |
Index for closest obstacle. | |
double | m_minDist |
Distance between Robot and closest obstacle. | |
mathtool::Vector3d | m_robotPoint |
Closest point on Robot to closest obstacle. | |
mathtool::Vector3d | m_objectPoint |
Closest point on closest obstacle to Robot. | |
std::vector< CollisionPair > | m_trianglePairs |
All colliding triangle pairs. | |
CDClearanceMap | m_clearanceMap |
Map of detected clearances. | |
Information returned by validity checkers, e.g., distance from obstacles.
typedef std::pair<int, int> CDInfo::CollisionPair |
A pair of triangle indexes on the robot (first) and obstacle (second) in a discovered collision.
CDInfo::CDInfo | ( | const bool | _retAllInfo = false | ) |
_retAllInfo | Compute distance information if possible |
void CDInfo::ResetVars | ( | const bool | _retAllInfo = false | ) |
Reset object to default state.
_retAllInfo | Compute distance information if possible |
|
noexcept |
Order these objects according to the minimum distance from closest colliding obstacle.
_cdInfo | Other CDInfo |