CAD Exchanger SDK
cadex::ModelCheck_DeviationSegment Class Reference

Describes a deviation segment between two curves. More...

Public Types

typedef std::pair< double, double > ParamsType
 Type of parameters pair: begin and end.
 
typedef std::shared_ptr< internal::ModelCheck_DeviationSegmentImpl > ImplType
 

Public Member Functions

 ModelCheck_DeviationSegment ()
 Constructor.
 
bool IsEmpty () const
 Returns true if segment is empty and false otherwise.
 
const ParamsTypeCurve1Params () const
 Returns a parameter range of segment for first curve.
 
const ParamsTypeCurve2Params () const
 Returns a parameter range of segment for second curve.
 
double Distance () const
 Returns a distance between curves on this segment. More...
 
const ImplType & Impl () const
 

Protected Attributes

ImplType myImpl
 

Detailed Description

Describes a deviation segment between two curves.

Member Function Documentation

◆ Distance()

double cadex::ModelCheck_DeviationSegment::Distance ( ) const

Returns a distance between curves on this segment.

For ModelCheck_BRepChecker::Tool::Overlap this is the minimum distance.

For ModelCheck_BRepChecker::Tool::Tolerance this is the maximum distance.