CAD Exchanger SDK
cadex::ModelCheck_ToleranceProblem Class Reference

Helper base class for edge and vertex tolerance problems. More...

Inheritance diagram for cadex::ModelCheck_ToleranceProblem:
cadex::ModelCheck_BaseProblem cadex::ModelCheck_EdgeToleranceProblem cadex::ModelCheck_VertexToleranceProblem

Public Member Functions

double StoredTolerance () const
 Returns the tolerance stored in shape. More...
 
ModelCheck_ProblemType SubType () const
 Returns the subtype of problem. More...
 
- 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
 

Protected Member Functions

 ModelCheck_ToleranceProblem (const ImplType &theImpl)
 
- Protected Member Functions inherited from cadex::ModelCheck_BaseProblem
 ModelCheck_BaseProblem (const ImplType &theImpl)
 
template<typename T >
T * CastImpl () const
 Internal.
 

Additional Inherited Members

- Public Types inherited from cadex::ModelCheck_BaseProblem
typedef std::shared_ptr< internal::ModelCheck_BaseProblemImpl > ImplType
 
- Protected Attributes inherited from cadex::ModelCheck_BaseProblem
ImplType myImpl
 

Detailed Description

Helper base class for edge and vertex tolerance problems.

Member Function Documentation

◆ StoredTolerance()

double cadex::ModelCheck_ToleranceProblem::StoredTolerance ( ) const

Returns the tolerance stored in shape.

If custom threshold was set in tolerance tool, it's value will be returned instead.

◆ SubType()

ModelCheck_ProblemType cadex::ModelCheck_ToleranceProblem::SubType ( ) const

Returns the subtype of problem.

Can be ModelCheck_PT_EdgeTolerance or ModelCheck_PT_VertexTolerance.