Triangle with 3 indices for points. More...
#include <data_types.h>
| Public Types | |
| typedef std::size_t | index_type | 
| typedef int | size_type | 
| Public Member Functions | |
| bool | isValid () const | 
| bool | operator!= (const Triangle &other) const | 
| bool | operator== (const Triangle &other) const | 
| index_type & | operator[] (index_type i) | 
| index_type | operator[] (index_type i) const | 
| Access the triangle index.  More... | |
| void | set (index_type p1, index_type p2, index_type p3) | 
| Set the vertex indices of the triangle.  More... | |
| Triangle () | |
| Default constructor.  More... | |
| Triangle (index_type p1, index_type p2, index_type p3) | |
| Create a triangle with given vertex indices.  More... | |
| Static Public Member Functions | |
| static size_type | size () | 
| Private Attributes | |
| index_type | vids [3] | 
| indices for each vertex of triangle  More... | |
Triangle with 3 indices for points.
Definition at line 111 of file coal/data_types.h.
| typedef std::size_t coal::Triangle::index_type | 
Definition at line 113 of file coal/data_types.h.
| typedef int coal::Triangle::size_type | 
Definition at line 114 of file coal/data_types.h.
| 
 | inline | 
Default constructor.
Definition at line 117 of file coal/data_types.h.
| 
 | inline | 
Create a triangle with given vertex indices.
Definition at line 120 of file coal/data_types.h.
| 
 | inline | 
Definition at line 143 of file coal/data_types.h.
| 
 | inline | 
Definition at line 141 of file coal/data_types.h.
| 
 | inline | 
Definition at line 136 of file coal/data_types.h.
| 
 | inline | 
Definition at line 132 of file coal/data_types.h.
| 
 | inline | 
Access the triangle index.
Definition at line 130 of file coal/data_types.h.
| 
 | inline | 
Set the vertex indices of the triangle.
Definition at line 123 of file coal/data_types.h.
| 
 | inlinestatic | 
Definition at line 134 of file coal/data_types.h.
| 
 | private | 
indices for each vertex of triangle
Definition at line 151 of file coal/data_types.h.