![]() |
Parasol Planning Library (PPL)
|
#include <SpheresCollisionDetection.h>
Public Member Functions | |
Construction | |
InsideSpheres () | |
CollisionDetectionMethod Overrides | |
virtual bool | IsInCollision (const GMSPolyhedron &_polyhedron1, const mathtool::Transformation &_t1, const GMSPolyhedron &_polyhedron2, const mathtool::Transformation &_t2, CDInfo &_cdInfo) override |
![]() | |
CollisionDetectionMethod (const std::string &_name="CD_USER1") | |
virtual | ~CollisionDetectionMethod () |
const std::string & | GetName () const |
virtual void | Print (std::ostream &_os) const |
virtual bool | IsInsideObstacle (const mathtool::Vector3d &_point, const GMSPolyhedron &_polyhedron, const mathtool::Transformation &_transformation) |
Additional Inherited Members | |
![]() | |
std::string | m_name |
Name of the CD method. More... | |
Collision detection using inscribed spheres only. This implies that collisions will be sure, but no collision is uncertain.
InsideSpheres::InsideSpheres | ( | ) |
|
overridevirtual |
Check if two polyhedrons are in collision.
_polyhedron1 | The first polyhedron. |
_transformation1 | Transformation for the first polyhedron. |
_polyhedron2 | The second polyhedron. |
_transformation2 | Transformation for the second polyhedron. |
_cdInfo | Output information from the collision computation. |
Reimplemented from CollisionDetectionMethod.