RobWorkProject
23.9.11-
|
indexed triangle class with an additional index for an face normal More...
#include <IndexedTriangle.hpp>
Public Member Functions | |
IndexedTriangleN1 () | |
constructor | |
IndexedTriangleN1 (T p1, T p2, T p3, T n) | |
constructor More... | |
IndexedTriangleN1 (const IndexedTriangleN1 &f) | |
copy constructor More... | |
T & | getVertexIdx (size_t i) |
returns the index of vertex i of the triangle | |
const T & | getVertexIdx (size_t i) const |
returns the index of vertex i of the triangle | |
T & | getNormalIdx () |
returns the index of vertex i of the triangle | |
const T & | getNormalIdx () const |
returns the index of vertex i of the triangle | |
template<class R > | |
bool | isInside (const rw::math::Vector3D< R > &x, const std::vector< rw::math::Vector3D< R >> &verts) |
tests wheather the point x is inside the triangle | |
T & | operator[] (size_t i) |
get vertex at index i | |
const T & | operator[] (size_t i) const |
get vertex at index i | |
indexed triangle class with an additional index for an face normal
|
inline |
constructor
p1 | [in] vertice index 1 |
p2 | [in] vertice index 2 |
p3 | [in] vertice index 3 |
n | [in] normal index |
|
inline |
copy constructor
f | [in] - The face that is to be copied. |