Defines parameters used by ModelAlgo_BSplineConverter. More...
Public Types | |
enum | PriorityConstraintType { NumOfSpans , Degree } |
Defines the second-level constraints that can be prioritized. More... | |
Public Member Functions | |
ModelAlgo_BSplineConverterParameters () | |
Constructor. | |
bool | ProcessSurfaces () const |
Returns whether surfaces should be processed or ignored. | |
bool & | ProcessSurfaces () |
Returns whether surfaces should be processed or ignored. | |
void | SetProcessSurfaces (bool theValue) |
Specifies whether surfaces should be processed or ignored. | |
bool | ProcessCurves () const |
Returns whether 3D curves should be processed or ignored. | |
bool & | ProcessCurves () |
Returns whether 3D curves should be processed or ignored. | |
void | SetProcessCurves (bool theValue) |
Specifies whether 3D curves should be processed or ignored. | |
bool | ProcessCurves2d () const |
Returns whether 2D curves should be processed or ignored. | |
bool & | ProcessCurves2d () |
Returns whether 2D curves should be processed or ignored. | |
void | SetProcessCurves2d (bool theValue) |
Specifies whether 2D curves should be processed or ignored. | |
int | MaxDegree () const |
Returns maximum allowed degree of the resulting B-Spline representation. | |
int & | MaxDegree () |
Returns maximum allowed degree of the resulting B-Spline representation. | |
void | SetMaxDegree (int theValue) |
Specifies maximum allowed degree of the resulting B-Spline representation. | |
int | MaxNumOfSpans () const |
Returns maximum allowed number of spans between knots of the resulting B-Spline representation. | |
int & | MaxNumOfSpans () |
Returns maximum allowed number of spans between knots of the resulting B-Spline representation. | |
void | SetMaxNumOfSpans (int theValue) |
Specifies maximum allowed number of spans between knots of the resulting B-Spline representation. | |
double | MaxTolerance () const |
Returns maximum allowed deviation of the resulting B-Spline representation from the original geometry. | |
double & | MaxTolerance () |
Returns maximum allowed deviation of the resulting B-Spline representation from the original geometry. | |
void | SetMaxTolerance (double theValue) |
Specifies maximum allowed deviation of the resulting B-Spline representation from the original geometry. | |
PriorityConstraintType | PriorityConstraint () const |
Returns the constraint that is prioritized when the full set of constraints is conflicting. | |
PriorityConstraintType & | PriorityConstraint () |
Returns the constraint that is prioritized when the full set of constraints is conflicting. | |
void | SetPriorityConstraint (PriorityConstraintType theValue) |
Specifies the constraint that is prioritized when the full set of constraints is conflicting. | |
const std::shared_ptr< internal::ModelAlgo_BSplineConverterParametersImpl > & | Impl () const |
Returns an implementation object. | |
Defines parameters used by ModelAlgo_BSplineConverter.
Contains parameters used by B-Spline converter (ModelAlgo_BSplineConverter) and allows to:
Defines the second-level constraints that can be prioritized.
In general, constraints on the degree and the number of spans of the B-Spline can't be satisfied at once. In such a situtaion one of the constraints is respected and the other is discarded. A value from this enumeration is used to specify which constraint should be respected in case of conflict.
cadex::ModelAlgo_BSplineConverterParameters::ModelAlgo_BSplineConverterParameters | ( | ) |
Constructor.
Sets default parameter values.