Sort shapes in the list by their coordinates. More...
#include <GEOMUtils.hxx>
Public Types | |
typedef NCollection_DataMap < TopoDS_Shape, std::pair < double, double > > | GEOMUtils_DataMapOfShapeDouble |
Public Member Functions | |
CompareShapes (bool isOldSorting) | |
bool | operator() (const TopoDS_Shape &lhs, const TopoDS_Shape &rhs) |
Public Attributes | |
GEOMUtils_DataMapOfShapeDouble | myMap |
bool | myIsOldSorting |
SL | The list of shapes to sort. |
typedef NCollection_DataMap<TopoDS_Shape, std::pair<double, double> > GEOMUtils::CompareShapes::GEOMUtils_DataMapOfShapeDouble |
|
inline |
bool GEOMUtils::CompareShapes::operator() | ( | const TopoDS_Shape & | lhs, |
const TopoDS_Shape & | rhs | ||
) |
References myIsOldSorting, myMap, and GEOMUtils::ShapeToDouble().
bool GEOMUtils::CompareShapes::myIsOldSorting |
GEOMUtils_DataMapOfShapeDouble GEOMUtils::CompareShapes::myMap |