Triangle with 3 indices for points.
More...
#include <hpp/fcl/data_types.h>
|
| Triangle () |
| Default constructor. More...
|
|
| Triangle (std::size_t p1, std::size_t p2, std::size_t p3) |
| Create a triangle with given vertex indices. More...
|
|
void | set (std::size_t p1, std::size_t p2, std::size_t p3) |
| Set the vertex indices of the triangle. More...
|
|
std::size_t | operator[] (int i) const |
| the triangle index More...
|
|
std::size_t & | operator[] (int i) |
|
Triangle with 3 indices for points.
hpp::fcl::Triangle::Triangle |
( |
| ) |
|
|
inline |
hpp::fcl::Triangle::Triangle |
( |
std::size_t |
p1, |
|
|
std::size_t |
p2, |
|
|
std::size_t |
p3 |
|
) |
| |
|
inline |
Create a triangle with given vertex indices.
std::size_t hpp::fcl::Triangle::operator[] |
( |
int |
i | ) |
const |
|
inline |
std::size_t& hpp::fcl::Triangle::operator[] |
( |
int |
i | ) |
|
|
inline |
void hpp::fcl::Triangle::set |
( |
std::size_t |
p1, |
|
|
std::size_t |
p2, |
|
|
std::size_t |
p3 |
|
) |
| |
|
inline |
Set the vertex indices of the triangle.