![]() |
RobWorkProject
23.9.11-
|
struct for iterating over the centers of triangles in a mesh More...
#include <TriMesh.hpp>
Public Member Functions | |
| TriCenterIterator (const rw::geometry::TriMesh &mesh, bool useAreaWeight=false) | |
| rw::math::Vector3D< double > & | operator* () |
| rw::math::Vector3D< double > * | operator-> () |
| TriCenterIterator & | operator++ () |
| bool | operator== (const TriCenterIterator &other) const |
| bool | operator!= (const TriCenterIterator &other) const |
| void | inc () |
Public Attributes | |
| rw::math::Vector3D< double > | _pos |
| const rw::geometry::TriMesh & | _mesh |
| size_t | _first |
| size_t | _end |
| bool | _useAreaWeight |
struct for iterating over the centers of triangles in a mesh