|  | RobWorkProject
    23.9.11-
    | 
Triangle facet. triangle class that stores one normal for each vertex in the triangle. More...
#include <Triangle.hpp>
| Public Types | |
| typedef T | value_type | 
| value type of vertices | |
| Public Member Functions | |
| TriangleN3 (const rw::math::Vector3D< T > &p1, const rw::math::Vector3D< T > &p2, const rw::math::Vector3D< T > &p3, const rw::math::Vector3D< T > &n1, const rw::math::Vector3D< T > &n2, const rw::math::Vector3D< T > &n3) | |
| constructor, with all input defined | |
| TriangleN3 (const Triangle< T > &t, const rw::math::Vector3D< T > &n1, const rw::math::Vector3D< T > &n2, const rw::math::Vector3D< T > &n3) | |
| constructor from triangle and normals | |
| rw::math::Vector3D< T > & | getNormal (size_t i) | 
| get normal of vertice i  More... | |
| const rw::math::Vector3D< T > & | getNormal (size_t i) const | 
| return vertex normal of the vertex specified by i | |
| virtual rw::math::Vector3D< T > & | getVertex (size_t i) | 
| get vertex at index i  More... | |
| virtual const rw::math::Vector3D< T > & | getVertex (size_t i) const | 
| get vertex at index i  More... | |
| rw::math::Vector3D< T > & | operator[] (size_t i) | 
| get vertex at index i  More... | |
| const rw::math::Vector3D< T > & | operator[] (size_t i) const | 
| get vertex at index i  More... | |
| rw::math::Vector3D< T > | calcFaceNormal () const | 
| calculates the face normal of this triangle. It is assumed that the triangle vertices are arranged counter clock wise.  More... | |
| TriangleN3< T > | transform (const rw::math::Transform3D< T > &t3d) const | 
| Returns TriangleN2 transformed by t3d. | |
| const Triangle< T > & | getTriangle () const | 
| Triangle< T > & | getTriangle () | 
Triangle facet. triangle class that stores one normal for each vertex in the triangle.
| 
 | inline | 
calculates the face normal of this triangle. It is assumed that the triangle vertices are arranged counter clock wise.
| 
 | inline | 
get normal of vertice i
| i | [in] index of vertice | 
| 
 | inlinevirtual | 
get vertex at index i
| 
 | inlinevirtual | 
get vertex at index i
| 
 | inline | 
get vertex at index i
| 
 | inline | 
get vertex at index i