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... | |

Compares shapes using 'IsSame' relationship.

- See also
- Storing Shapes in Associative Containers, Equality and similarity relationships, ModelData_OrientedShapeEqual.

**Examples:**- exploring/breprepresentation/main.cxx.

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.