SHAPER  9.12.0
GeomAPI_Vertex::GeometricComparator Class Reference

Compare vertices geometrically. More...

Public Member Functions

GEOMAPI_EXPORT GeometricComparator (const double theTolerance=1.e-7)
 
GEOMAPI_EXPORT bool operator() (const std::shared_ptr< GeomAPI_Vertex > &theVertex1, const std::shared_ptr< GeomAPI_Vertex > &theVertex2) const
 Return true if the first vertex is less than the second. More...
 

Detailed Description

Compare vertices geometrically.

Member Function Documentation

◆ operator()()

bool GeomAPI_Vertex::GeometricComparator::operator() ( const std::shared_ptr< GeomAPI_Vertex > &  theVertex1,
const std::shared_ptr< GeomAPI_Vertex > &  theVertex2 
) const

Return true if the first vertex is less than the second.