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 | 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 96 of file data_types.h.
typedef std::size_t hpp::fcl::Triangle::index_type |
Definition at line 98 of file data_types.h.
typedef int hpp::fcl::Triangle::size_type |
Definition at line 99 of file data_types.h.
|
inline |
Default constructor.
Definition at line 102 of file data_types.h.
|
inline |
Create a triangle with given vertex indices.
Definition at line 105 of file data_types.h.
|
inline |
Definition at line 126 of file data_types.h.
|
inline |
Definition at line 121 of file data_types.h.
|
inline |
Definition at line 117 of file data_types.h.
|
inline |
Access the triangle index.
Definition at line 115 of file data_types.h.
|
inline |
Set the vertex indices of the triangle.
Definition at line 108 of file data_types.h.
|
inlinestatic |
Definition at line 119 of file data_types.h.
|
private |
indices for each vertex of triangle
Definition at line 130 of file data_types.h.