CAD Exchanger SDK
cadex::ModelData_UnorientedShapeEqual Class Reference

Compares shapes using 'IsSame' relationship. More...

Public Member Functions

bool operator() (const ModelData_Shape &theShape1, const ModelData_Shape &theShape2) const
 Returns true if two shapes share the same geometry and subshape graph. More...
 

Detailed Description

Member Function Documentation

◆ operator()()

bool cadex::ModelData_UnorientedShapeEqual::operator() ( const ModelData_Shape theShape1,
const ModelData_Shape theShape2 
) const

Returns true if two shapes share the same geometry and subshape graph.

Compares shapes ignoring their orientations.

Returns true if both shapes are null.