Version: 9.12.0
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

GEOMUtils_DataMapOfShapeDouble myMap
bool myIsOldSorting

Detailed Description

SLThe 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 

Member Data Documentation

◆ myIsOldSorting

bool GEOMUtils::CompareShapes::myIsOldSorting

◆ myMap

GEOMUtils_DataMapOfShapeDouble GEOMUtils::CompareShapes::myMap

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