cadex::ModelCheck_OverlapProblem Class Reference

Describes an overlap problem. More...

Inheritance diagram for cadex::ModelCheck_OverlapProblem:

## Public Types | |

typedef cadex::internal::cadex_vector< ModelCheck_DeviationSegment >::type | SegmentsContainerType |

Defines type of container for deviation segments. | |

Public Types inherited from cadex::ModelCheck_BaseProblem | |

typedef std::shared_ptr< internal::ModelCheck_BaseProblemImpl > | ImplType |

## Public Member Functions | |

ModelCheck_OverlapProblem (const TopoDS_Edge &theEdge1, const TopoDS_Edge &theEdge2, const SegmentsContainerType &theSegments, double theReqDistance) | |

Constructor. | |

const TopoDS_Edge & | Edge1 () const |

Returns first edge from two which overlap. | |

const TopoDS_Edge & | Edge2 () const |

Returns second edge from two which overlap. | |

const SegmentsContainerType & | Segments () const |

Returns deviation segments. | |

double | ReqDistance () const |

Returns the minimum distance required for problem to disappear. | |

void | Accept (const ModelCheck_ProblemVisitor &theVisitor) const override |

Accepts a problem visitor. | |

Public Member Functions inherited from cadex::ModelCheck_BaseProblem | |

virtual | ~ModelCheck_BaseProblem () |

Desctructor. | |

ModelCheck_ProblemType | Type () const |

Returns type of the problem. | |

ModelCheck_ErrorLevel | Level () const |

Returns level of the problem. | |

const ImplType & | Impl () const |

## Additional Inherited Members | |

Protected Member Functions inherited from cadex::ModelCheck_BaseProblem | |

ModelCheck_BaseProblem (const ImplType &theImpl) | |

template<typename T > | |

T * | CastImpl () const |

Internal. | |

Protected Attributes inherited from cadex::ModelCheck_BaseProblem | |

ImplType | myImpl |

Describes an overlap problem.

The problem takes place when two edges from wire overlap each other by their tolerance. E.g., if two parallel lines has distance between them equal to 2 and they both have tolerance equal to 1.5, then they overlap along the entire length.