Version: 6.3.1
Data Structures | Functions

src/SMDS/SMDS_MeshNode.cxx File Reference

#include "SMDS_MeshNode.hxx"
#include "SMDS_SpacePosition.hxx"
#include "SMDS_IteratorOfElements.hxx"
#include "SMDS_Mesh.hxx"
#include <vtkUnstructuredGrid.h>
#include "utilities.h"
#include "Utils_SALOME_Exception.hxx"
#include <cassert>
Include dependency graph for SMDS_MeshNode.cxx:

Go to the source code of this file.

Data Structures

class  SMDS_MeshNode_MyInvIterator
 Iterator on list of elements. More...
class  SMDS_MeshNode_MyIterator

Functions

bool operator< (const SMDS_MeshNode &e1, const SMDS_MeshNode &e2)
 To be used with STL set.

Function Documentation

bool operator< ( const SMDS_MeshNode e1,
const SMDS_MeshNode e2 
)

To be used with STL set.

Definition at line 368 of file SMDS_MeshNode.cxx.

References SMDS_MeshElement.getVtkId().

{
        return e1.getVtkId()<e2.getVtkId();
        /*if(e1.myX<e2.myX) return true;
        else if(e1.myX==e2.myX)
        {
                if(e1.myY<e2.myY) return true;
                else if(e1.myY==e2.myY) return (e1.myZ<e2.myZ);
                else return false;
        }
        else return false;*/
}
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS