SHAPER  9.12.0
GeomAPI_Shape::ComparatorWithOri Class Reference

Compare addresses of shapes with respect to orientation of shapes. More...

Public Member Functions

GEOMAPI_EXPORT bool operator() (const std::shared_ptr< GeomAPI_Shape > &theShape1, const std::shared_ptr< GeomAPI_Shape > &theShape2) const
 Return true if the address of the first shape is less than the address of the second. More...
 

Detailed Description

Compare addresses of shapes with respect to orientation of shapes.

Same TShapes with opposite orientations will be treated as different.

Member Function Documentation

◆ operator()()

bool GeomAPI_Shape::ComparatorWithOri::operator() ( const std::shared_ptr< GeomAPI_Shape > &  theShape1,
const std::shared_ptr< GeomAPI_Shape > &  theShape2 
) const

Return true if the address of the first shape is less than the address of the second.