Triangle stores the points instead of only indices of points. More...
#include <triangle_p.h>

| Public Types | |
| using | S = S_ | 
|  Public Types inherited from fcl::ShapeBase< S_ > | |
| using | S = S_ | 
| Public Member Functions | |
| void | computeLocalAABB () override | 
| virtual function of compute AABB | |
| std::vector< Vector3< S > > | getBoundVertices (const Transform3< S > &tf) const | 
| get the vertices of some convex shape which can bound this shape in a specific configuration  More... | |
| NODE_TYPE | getNodeType () const override | 
| TriangleP (const Vector3< S > &a, const Vector3< S > &b, const Vector3< S > &c) | |
|  Public Member Functions inherited from fcl::ShapeBase< S_ > | |
| OBJECT_TYPE | getObjectType () const | 
| Get object type: a geometric shape.  More... | |
| ShapeBase () | |
|  Public Member Functions inherited from fcl::CollisionGeometry< S_ > | |
| CollisionGeometry () | |
| virtual Vector3< S_ > | computeCOM () const | 
| compute center of mass  More... | |
| virtual Matrix3< S_ > | computeMomentofInertia () const | 
| compute the inertia matrix, related to the origin  More... | |
| virtual Matrix3< S_ > | computeMomentofInertiaRelatedToCOM () const | 
| compute the inertia matrix, related to the com  More... | |
| virtual S_ | computeVolume () const | 
| compute the volume  More... | |
| virtual NODE_TYPE | getNodeType () const | 
| get the node type  More... | |
| virtual OBJECT_TYPE | getObjectType () const | 
| get the type of the object  More... | |
| void * | getUserData () const | 
| get user data in geometry  More... | |
| bool | isFree () const | 
| whether the object is completely free  More... | |
| bool | isOccupied () const | 
| whether the object is completely occupied  More... | |
| bool | isUncertain () const | 
| whether the object has some uncertainty  More... | |
| void | setUserData (void *data) | 
| set user data in geometry  More... | |
| virtual | ~CollisionGeometry () | 
| Public Attributes | |
| Vector3< S > | a | 
| Vector3< S > | b | 
| Vector3< S > | c | 
|  Public Attributes inherited from fcl::CollisionGeometry< S_ > | |
| Vector3< S_ > | aabb_center | 
| AABB center in local coordinate.  More... | |
| AABB< S_ > | aabb_local | 
| AABB in local coordinate, used for tight AABB when only translation transform.  More... | |
| S_ | aabb_radius | 
| AABB radius.  More... | |
| S_ | cost_density | 
| collision cost for unit volume  More... | |
| S_ | threshold_free | 
| threshold for free (<= is free)  More... | |
| S_ | threshold_occupied | 
| threshold for occupied ( >= is occupied)  More... | |
| void * | user_data | 
| pointer to user defined data specific to this object  More... | |
| Friends | |
| std::ostream & | operator<< (std::ostream &out, const TriangleP &tri) | 
Triangle stores the points instead of only indices of points.
Definition at line 50 of file triangle_p.h.
| using fcl::TriangleP< S_ >::S = S_ | 
Definition at line 54 of file triangle_p.h.
| fcl::TriangleP< S >::TriangleP | ( | const Vector3< S > & | a, | 
| const Vector3< S > & | b, | ||
| const Vector3< S > & | c | ||
| ) | 
Definition at line 52 of file triangle_p-inl.h.
| 
 | overridevirtual | 
virtual function of compute AABB in local coordinate 
Implements fcl::CollisionGeometry< S_ >.
Definition at line 63 of file triangle_p-inl.h.
| std::vector< Vector3< S > > fcl::TriangleP< S >::getBoundVertices | ( | const Transform3< S > & | tf | ) | const | 
get the vertices of some convex shape which can bound this shape in a specific configuration
Definition at line 80 of file triangle_p-inl.h.
| 
 | override | 
Definition at line 73 of file triangle_p-inl.h.
| 
 | friend | 
Definition at line 75 of file triangle_p.h.
| Vector3<S> fcl::TriangleP< S_ >::a | 
Definition at line 66 of file triangle_p.h.
| Vector3<S> fcl::TriangleP< S_ >::b | 
Definition at line 67 of file triangle_p.h.
| Vector3<S> fcl::TriangleP< S_ >::c | 
Definition at line 68 of file triangle_p.h.