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 |
Sort shapes in the list by their coordinates.
SL | The list of shapes to sort. |
typedef TopoDS_Shape GEOMUtils::CompareShapes::first_argument_type |
typedef NCollection_DataMap<TopoDS_Shape, std::pair<double, double> > GEOMUtils::CompareShapes::GEOMUtils_DataMapOfShapeDouble |
typedef TopoDS_Shape GEOMUtils::CompareShapes::second_argument_type |
GEOMUtils::CompareShapes::CompareShapes | ( | bool | isOldSorting | ) |
bool GEOMUtils::CompareShapes::operator() | ( | const TopoDS_Shape & | lhs, |
const TopoDS_Shape & | rhs | ||
) |
References myIsOldSorting, myMap, and GEOMUtils::ShapeToDouble().
bool GEOMUtils::CompareShapes::myIsOldSorting |
Referenced by operator()().
GEOMUtils_DataMapOfShapeDouble GEOMUtils::CompareShapes::myMap |
Referenced by operator()().