constructor added

This commit is contained in:
ganovelli 2004-09-14 19:46:10 +00:00
parent e10aa57ee2
commit 66d136ed78
1 changed files with 9 additions and 3 deletions

View File

@ -24,6 +24,9 @@
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.11 2004/08/25 15:15:27 ganovelli
minor changes to comply gcc compiler (typename's and stuff)
Revision 1.10 2004/07/27 09:47:49 cignoni Revision 1.10 2004/07/27 09:47:49 cignoni
Added V() access function instead of V(0) Added V() access function instead of V(0)
@ -352,10 +355,13 @@ public:
/// Default constructor /// Default constructor
VFIterator(){} VFIterator(){}
/// Constructor which associates the half-edge elementet with a face and its vertex /// Constructor which associates the half-edge elementet with a face and its vertex
VFIterator(FaceType * _f, const int & _z){f = _f; z = _z;} VFIterator(FaceType * _f, const int & _z){f = _f; z = _z;}
VFIFaceType * F() const { return f;} /// Constructor which takes a pointer to vertex
const int & I() const { return z;} VFIterator(VertexType * _v){f = _v->VFp(); z = _v->VFi();}
VFIFaceType *& F() { return f;}
int & I() { return z;}
bool End() const {return f==0;} bool End() const {return f==0;}
VFIFaceType *operator++() { VFIFaceType *operator++() {