template <typename ELEM=const SMDS_MeshElement*>
class IdSortedIterator : public SMDS_Iterator<ELEM>
{
- const SMDS_MeshElementIDFactory& myIDFact;
+ SMDS_MeshElementIDFactory& myIDFact;
int myID, myMaxID, myNbFound, myTotalNb;
SMDSAbs_ElementType myType;
ELEM myElem;
const SMDS_MeshElement* currentElem = NULL;
int totalNbEdges = theTrack->NbEdges();
SMDS_ElemIteratorPtr nIt;
- bool isClosed = false;
//check start node
if( !theTrack->GetMeshDS()->Contains(theN1) ) {
//case of the closed mesh
if(currentNode == theN1) {
nbEdges++;
- isClosed = true;
break;
}