RobWorkProject  23.9.11-
Public Member Functions | Public Attributes | List of all members
TriMesh::TriCenterIterator Struct Reference

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-> ()
 
TriCenterIteratoroperator++ ()
 
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
 

Detailed Description

struct for iterating over the centers of triangles in a mesh


The documentation for this struct was generated from the following file: