iterator question.

Mark Shephard shephard at scorec.rpi.edu
Thu Oct 29 10:14:53 CDT 2009


The Simmetrix people have been looking at the ITAPS iMesh, iMeshP, iRel 
and iGeom interfaces.

One of the questions they have sent us has to do with iterators and is:

"Are iMesh_getNextEntIter and iGeom_getNextEntIter supposed to have the 
same behavior as their documentation describes two different behaviors - 
iMesh_getNextEntIter indicates whether the current call returned data 
(which is fairly standard behavior for an iterator),iGeom_getNextEntIter 
indicates whether the next call will return data (which is kind of odd 
behavior for an iterator)."

I would think they should have the same behavior and the iMesh behavior 
is the right one. Comments please.

Mark


More information about the tstt-interface mailing list