cgma
RefEntityFactory.cpp File Reference
#include "RefEntityFactory.hpp"
#include "RefVertex.hpp"
#include "RefEdge.hpp"
#include "RefFace.hpp"
#include "RefVolume.hpp"
#include "Body.hpp"
#include "RefGroup.hpp"
#include "GeometryQueryTool.hpp"
#include "DLIList.hpp"
#include "AppUtil.hpp"
#include "GeometryEvent.hpp"

Go to the source code of this file.

Functions

static int sort_by_ascending_ids (CubitEntity *&a, CubitEntity *&b)
static int sort_by_ascending_ids (RefVertex *&a, RefVertex *&b)
static int sort_by_ascending_ids (RefVolume *&a, RefVolume *&b)
static int sort_by_ascending_ids (RefEdge *&a, RefEdge *&b)
static int sort_by_ascending_ids (RefFace *&a, RefFace *&b)
static int sort_by_ascending_ids (Body *&a, Body *&b)
static int sort_by_ascending_ids (RefGroup *&a, RefGroup *&b)

Function Documentation

static int sort_by_ascending_ids ( CubitEntity *&  a,
CubitEntity *&  b 
) [static]

Definition at line 13 of file RefEntityFactory.cpp.

{
  if( a->id() < b->id() )
    return -1;
  else
    return 1;
} 
static int sort_by_ascending_ids ( RefVertex *&  a,
RefVertex *&  b 
) [static]

Definition at line 21 of file RefEntityFactory.cpp.

{
  if( a->id() < b->id() ) 
    return -1;
  else
    return 1;
} 
static int sort_by_ascending_ids ( RefVolume *&  a,
RefVolume *&  b 
) [static]

Definition at line 29 of file RefEntityFactory.cpp.

{
  if( a->id() < b->id() )
    return -1;
  else
    return 1;
} 
static int sort_by_ascending_ids ( RefEdge *&  a,
RefEdge *&  b 
) [static]

Definition at line 37 of file RefEntityFactory.cpp.

{
  if( a->id() < b->id() )
    return -1;
  else
    return 1;
} 
static int sort_by_ascending_ids ( RefFace *&  a,
RefFace *&  b 
) [static]

Definition at line 45 of file RefEntityFactory.cpp.

{
  if( a->id() < b->id() )
    return -1;
  else
    return 1;
} 
static int sort_by_ascending_ids ( Body *&  a,
Body *&  b 
) [static]

Definition at line 53 of file RefEntityFactory.cpp.

{
  if( a->id() < b->id() )
    return -1;
  else
    return 1;
} 
static int sort_by_ascending_ids ( RefGroup *&  a,
RefGroup *&  b 
) [static]

Definition at line 61 of file RefEntityFactory.cpp.

{
  if( a->id() < b->id() )
    return -1;
  else
    return 1;
} 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines