#include <OpenMesh/Mesh/Iterators/CirculatorsT.hh>
Public Member Functions | |
| ConstVertexFaceIterT () | |
| Default constructor. | |
| ConstVertexFaceIterT (mesh_ref _mesh, typename Mesh::VertexHandle _start) | |
| Construct with mesh and a typename Mesh::VertexHandle. | |
| ConstVertexFaceIterT (mesh_ref _mesh, HalfedgeHandle _heh) | |
| Construct with mesh and start halfedge. | |
| ConstVertexFaceIterT (const ConstVertexFaceIterT &_rhs) | |
| Copy constructor. | |
| ConstVertexFaceIterT & | operator= (const ConstVertexFaceIterT< Mesh > &_rhs) |
| Assignment operator. | |
| ConstVertexFaceIterT (const VertexFaceIterT< Mesh > &_rhs) | |
| construct from non-const circulator type | |
| ConstVertexFaceIterT & | operator= (const VertexFaceIterT< Mesh > &_rhs) |
| assign from non-const circulator | |
| bool | operator== (const ConstVertexFaceIterT &_rhs) const |
| Equal ? | |
| bool | operator!= (const ConstVertexFaceIterT &_rhs) const |
| Not equal ? | |
| ConstVertexFaceIterT & | operator++ () |
| Pre-Increment (next cw target). | |
| ConstVertexFaceIterT & | operator-- () |
| Pre-Decrement (next ccw target). | |
| HalfedgeHandle | current_halfedge_handle () const |
| Get the current halfedge. | |
| Mesh::FaceHandle | handle () const |
| Return the handle of the current target. | |
| operator typename Mesh::FaceHandle () const | |
| Cast to the handle of the current target. | |
| reference | operator * () const |
| Return a reference to the current target. | |
| pointer | operator-> () const |
| Return a pointer to the current target. | |
| operator bool () const | |
| Returns whether the circulator is still valid. | |
| HalfedgeHandle OpenMesh::Iterators::ConstVertexFaceIterT< Mesh >::current_halfedge_handle | ( | ) | const [inline] |
Get the current halfedge.
There are Vertex*Iters and Face*Iters. For both the current state is defined by the current halfedge. This is what this method returns.
| OpenMesh::Iterators::ConstVertexFaceIterT< Mesh >::operator bool | ( | ) | const [inline] |
Returns whether the circulator is still valid.
After one complete round around a vertex/face the circulator becomes invalid, i.e. this function will return false. Nevertheless you can continue circulating. This method just tells you whether you have completed the first round.