cadex::ModelData_OrientedShapeEqual Class Reference

Compares shapes using 'IsEqual' 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, and have equal orientations. More... | |

Compares shapes using 'IsEqual' relationship.

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

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

bool cadex::ModelData_OrientedShapeEqual::operator() | ( | const ModelData_Shape & | theShape1, |

const ModelData_Shape & | theShape2 |
||

) | const |

Returns true if two shapes share the same geometry and subshape graph, and have equal orientations.

Returns true if both shapes are null.