#207 THEMeshFaceIterC::IsLast() isn't last face in mesh

open
nobody
5
2004-11-02
2004-11-02
Anonymous
No

(From: IntrDLIterC::IsLast(void) const)

In following code:

for(THEMeshFaceIterC <> fit(mesh.Faces()); fit; fit++ ){
for(THEMeshFaceEdgeIterC <> eit(*fit); eit; eit++ ){
cerr << "edge\n";
}
if(fit.IsLast())
cerr << "last face in list\n";
}

The second cerr is executed at the end of each face's
edges, ie not the last face in the mesh, but the last
edge in the face.

R.Gartshore@surrey.ac.uk

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks