Added stream operator for FVIter.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@894 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -326,6 +326,12 @@ class GenericCirculatorT : protected GenericCirculatorBaseT<Mesh> {
|
|||||||
operator value_type() const {
|
operator value_type() const {
|
||||||
return **this;
|
return **this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template<typename STREAM>
|
||||||
|
friend STREAM &operator<< (STREAM &s, const GenericCirculatorT &self) {
|
||||||
|
return s << self.mesh_ << ", " << self.start_.idx() << ", " << self.heh_.idx() << ", " << self.lap_counter_;
|
||||||
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Iterators
|
} // namespace Iterators
|
||||||
|
|||||||
Reference in New Issue
Block a user