Checking Curve Parameters for Constructing a Ruled Body
The function
bool CheckRuledParams( const MbCurve3D & curve,
SArray<double> & params,
bool isAscending )
checks the curve parameters and normalizes the parameters of a closed curve.
The input parameters of the function are:
curve — the curve;
params — the set of the curve parameters;
isAscending — the flag that specifies ascending order of the set parameters.
The output parameter of the function is the set of the curve parameters params.
If the parameter array is successfully normalized, the function returns true; otherwise, it returns false.
The function is declared in the action_shell.h file.
The function is auxiliary for the RuledShell() function that constructs a ruled open shell.