Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
GEOMUtils::CompareShapes Struct Reference

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

#include <GEOMUtils.hxx>

Inheritance diagram for GEOMUtils::CompareShapes:
Inheritance graph

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

Parameters
SLThe list of shapes to sort.

Member Typedef Documentation

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

Constructor & Destructor Documentation

GEOMUtils::CompareShapes::CompareShapes ( bool  isOldSorting)
inline

Member Function Documentation

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

Member Data Documentation

bool GEOMUtils::CompareShapes::myIsOldSorting
GEOMUtils_DataMapOfShapeDouble GEOMUtils::CompareShapes::myMap

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