Contact information returned by collision. More...
#include <contact.h>
| Public Member Functions | |
| Contact () | |
| Contact (const CollisionGeometry< S > *o1_, const CollisionGeometry< S > *o2_, int b1_, int b2_) | |
| Contact (const CollisionGeometry< S > *o1_, const CollisionGeometry< S > *o2_, int b1_, int b2_, const Vector3< S > &pos_, const Vector3< S > &normal_, S depth_) | |
| bool | operator< (const Contact &other) const | 
| Public Attributes | |
| intptr_t | b1 | 
| contact primitive in object 1 if object 1 is mesh or point cloud, it is the triangle or point id if object 1 is geometry shape, it is NONE (-1), if object 1 is octree, it is the query cell id (see OcTree::getNodeByQueryCellId)  More... | |
| intptr_t | b2 | 
| contact primitive in object 2 if object 2 is mesh or point cloud, it is the triangle or point id if object 2 is geometry shape, it is NONE (-1), if object 2 is octree, it is the query cell id (see OcTree::getNodeByQueryCellId)  More... | |
| Vector3< S > | normal | 
| contact normal, pointing from o1 to o2  More... | |
| const CollisionGeometry< S > * | o1 | 
| collision object 1  More... | |
| const CollisionGeometry< S > * | o2 | 
| collision object 2  More... | |
| S | penetration_depth | 
| penetration depth  More... | |
| Vector3< S > | pos | 
| contact position, in world space  More... | |
| Static Public Attributes | |
| static const int | NONE = -1 | 
| invalid contact primitive information  More... | |
Contact information returned by collision.
| fcl::Contact< S >::Contact | 
Definition at line 52 of file contact-inl.h.
| fcl::Contact< S >::Contact | ( | const CollisionGeometry< S > * | o1_, | 
| const CollisionGeometry< S > * | o2_, | ||
| int | b1_, | ||
| int | b2_ | ||
| ) | 
Definition at line 63 of file contact-inl.h.
| fcl::Contact< S >::Contact | ( | const CollisionGeometry< S > * | o1_, | 
| const CollisionGeometry< S > * | o2_, | ||
| int | b1_, | ||
| int | b2_, | ||
| const Vector3< S > & | pos_, | ||
| const Vector3< S > & | normal_, | ||
| S | depth_ | ||
| ) | 
Definition at line 78 of file contact-inl.h.
| bool fcl::Contact< S >::operator< | ( | const Contact< S > & | other | ) | const | 
Definition at line 99 of file contact-inl.h.
| intptr_t fcl::Contact< S >::b1 | 
| intptr_t fcl::Contact< S >::b2 | 
| 
 | static | 
| Vector3<S> fcl::Contact< S >::normal | 
| const CollisionGeometry<S>* fcl::Contact< S >::o1 | 
| const CollisionGeometry<S>* fcl::Contact< S >::o2 | 
| S fcl::Contact< S >::penetration_depth | 
| Vector3<S> fcl::Contact< S >::pos |