GEOMUtils::CompareShapes Struct Reference

Sort shapes in the list by their coordinates. More...

#include <GEOMUtils.hxx>

Public Types

typedef TopoDS_Shape first_argument_type
 
typedef NCollection_DataMap< TopoDS_Shape, std::pair< double, double > > GEOMUtils_DataMapOfShapeDouble
 
typedef bool result_type
 
typedef TopoDS_Shape second_argument_type
 

Public Member Functions

 CompareShapes (bool isOldSorting)
 
bool operator() (const TopoDS_Shape &lhs, const TopoDS_Shape &rhs)
 

Public Attributes

bool myIsOldSorting
 
GEOMUtils_DataMapOfShapeDouble myMap
 

Detailed Description

Sort shapes in the list by their coordinates.

Parameters
SLThe list of shapes to sort.

Member Typedef Documentation

◆ first_argument_type

◆ GEOMUtils_DataMapOfShapeDouble

typedef NCollection_DataMap<TopoDS_Shape, std::pair<double, double> > GEOMUtils::CompareShapes::GEOMUtils_DataMapOfShapeDouble

◆ result_type

◆ second_argument_type

Constructor & Destructor Documentation

◆ CompareShapes()

GEOMUtils::CompareShapes::CompareShapes ( bool  isOldSorting)

Member Function Documentation

◆ operator()()

bool GEOMUtils::CompareShapes::operator() ( const TopoDS_Shape &  lhs,
const TopoDS_Shape &  rhs 
)

Member Data Documentation

◆ myIsOldSorting

bool GEOMUtils::CompareShapes::myIsOldSorting

Referenced by operator()().

◆ myMap

GEOMUtils_DataMapOfShapeDouble GEOMUtils::CompareShapes::myMap

Referenced by operator()().


The documentation for this struct was generated from the following files: