Describes a topology problem. More...
#include <cadex/ModelCheck_TopologyProblem.hxx>
Public Types | |
enum | ReasonEnum { BadEdgesOrientation , BadWiresOrientation , CodirectionalEdges , NoGeometry , NoSubshapes , NotClosed , RepeatingSubshape } |
Reason of problem. More... | |
Public Types inherited from cadex::ModelCheck_BaseProblem | |
typedef std::shared_ptr< internal::ModelCheck_BaseProblemImpl > | ImplType |
Public Member Functions | |
ModelCheck_TopologyProblem (ReasonEnum theReason) | |
Constructor. | |
ModelCheck_TopologyProblem (ReasonEnum theReason, const ModelData_ShapeList &theShapeList) | |
Constructor. | |
const ModelData_ShapeList & | Shapes () const |
Returns the list of all associated shapes. | |
ReasonEnum | Reason () const |
Returns the reason of problem. | |
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. | |
virtual void | Accept (const ModelCheck_ProblemVisitor &) const =0 |
Accepts a problem visitor. | |
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 a topology problem.
The problem takes place when there is a topological issue with shape. See ReasonEnum for detailed reasons of problem appearance.
Reason of problem.
|
inlineoverridevirtual |
Accepts a problem visitor.
Implements cadex::ModelCheck_BaseProblem.