Back to index

salome-smesh  6.5.0
Classes | Functions
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>

Go to the source code of this file.


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


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 377 of file SMDS_MeshNode.cxx.

        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;*/