![]() |
RobWorkProject
23.9.11-
|
indexed polygon class that saves N indices to the N vertices of the polygon More...
#include <IndexedPolygon.hpp>
Public Types | |
| typedef rw::core::Ptr< IndexedPolygon< T > > | Ptr |
| Smart pointer to IndexedPolygonN. | |
| typedef T | value_type |
| value type of the index pointer | |
Public Member Functions | |
| virtual | ~IndexedPolygon () |
| destructor | |
| virtual T & | getVertexIdx (size_t i)=0 |
| returns the index of vertex i of the triangle | |
| virtual const T & | getVertexIdx (size_t i) const =0 |
| returns the index of vertex i of the triangle | |
| T & | operator[] (size_t i) |
| get vertex at index i | |
| const T & | operator[] (size_t i) const |
| get vertex at index i | |
| virtual size_t | size () const =0 |
| Number of vertices of this polygon. More... | |
indexed polygon class that saves N indices to the N vertices of the polygon
|
pure virtual |
Number of vertices of this polygon.
Implemented in IndexedPolygonN< T >, and IndexedPolygonN< uint16_t >.