coal 3.0.4 Coal, The Collision Detection Library. Previously known as HPP-FCL, fork of FCL -- The Flexible Collision Library |
Triangle with 3 indices for points. More...
#include <coal/data_types.h>
Public Types | |
| typedef std::size_t | index_type |
| typedef int | size_type |
Public Member Functions | |
| Triangle () | |
| Default constructor. | |
| Triangle (index_type p1, index_type p2, index_type p3) | |
| Create a triangle with given vertex indices. | |
| void | set (index_type p1, index_type p2, index_type p3) |
| Set the vertex indices of the triangle. | |
| index_type | operator[] (index_type i) const |
| Access the triangle index. | |
| index_type & | operator[] (index_type i) |
| bool | operator== (const Triangle &other) const |
| bool | operator!= (const Triangle &other) const |
| bool | isValid () const |
Static Public Member Functions | |
| static size_type | size () |
Triangle with 3 indices for points.
| typedef std::size_t coal::Triangle::index_type |
| typedef int coal::Triangle::size_type |
| inline |
Default constructor.
| inline |
Create a triangle with given vertex indices.
| inline |
| inline |
| inline |
| inline |
| inline |
Access the triangle index.
| inline |
Set the vertex indices of the triangle.
| inlinestatic |