cgma
CubitOctreeNode.cpp File Reference
#include <map>
#include "CubitOctreeNode.hpp"
#include "CubitOctreeCell.hpp"
#include "CubitOctree.hpp"
#include "RefFace.hpp"
#include "CubitOctreeConstants.hpp"
#include "CubitFacet.hpp"
#include "CubitPoint.hpp"
#include "GfxDebug.hpp"
#include "PriorityQueue.hpp"
#include "CubitOctreeGenerator.hpp"
#include "GMem.hpp"
#include "RTree.hpp"
#include "RefEdge.hpp"
#include "GeometryQueryTool.hpp"
#include "DLIList.hpp"
#include "GeomMeasureTool.hpp"
#include "OctreeIntersectionData.hpp"

Go to the source code of this file.

Functions

int sort_by_size (CubitOctreeNode *&node1, CubitOctreeNode *&node2)

Function Documentation

int sort_by_size ( CubitOctreeNode *&  node1,
CubitOctreeNode *&  node2 
)

Definition at line 26 of file CubitOctreeNode.cpp.

{
  if (node1->get_size(OCTREE_SIZE_DEFAULT) <= node2->get_size(OCTREE_SIZE_DEFAULT)) {return -1;}
  else {return 1;}
}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines