GEOMUtils::CompareShapes Struct Reference
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 | |
| bool | myIsOldSorting |
| GEOMUtils_DataMapOfShapeDouble | myMap |
Detailed Description
Sort shapes in the list by their coordinates.
- Parameters
-
SL The list of shapes to sort.
Member Typedef Documentation
◆ GEOMUtils_DataMapOfShapeDouble
| typedef NCollection_DataMap<TopoDS_Shape, std::pair<double, double> > GEOMUtils::CompareShapes::GEOMUtils_DataMapOfShapeDouble |
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 | ||
| ) |
References myIsOldSorting, myMap, and GEOMUtils::ShapeToDouble().
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:
- src/3rdParty/salomesmesh/inc/GEOMUtils.hxx
- src/3rdParty/salomesmesh/src/SMESH/GEOMUtils.cpp
1.8.17