Version: 6.3.1
Public Member Functions

DownIdCompare Struct Reference

#include <SMDS_Downward.hxx>

Public Member Functions

bool operator() (const DownIdType e1, const DownIdType e2) const

Detailed Description

Definition at line 56 of file SMDS_Downward.hxx.


Member Function Documentation

bool DownIdCompare.operator() ( const DownIdType  e1,
const DownIdType  e2 
) const

Definition at line 58 of file SMDS_Downward.hxx.

References DownIdType.cellId, and DownIdType.cellType.

  {
    if (e1.cellId == e2.cellId)
      return (e1.cellType < e2.cellType);
    else
      return (e1.cellId < e2.cellId);
  }
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