Mysterious settings in BrepOffsetAPI_ThruSections
In BrepOffsetAPI_ThruSections, there are some mysterious methods to change its behaviour.
Does anyone know their meaning and use?
void SetSmoothing (const Standard_Boolean UseSmoothing)
"Define the approximation algorithm"
The following method has effect just if UseSmoothing is true:
void SetParType (const Approx_ParametrizationType ParType)
"Define the type of parametrization used in the approximation",
where an Approx_ParametrizationType can have one of these values:
The following method has effect just if UseSmoothing is false:
void SetCriteriumWeight(const Standard_Real W1, const Standard_Real W2, const Standard_Real W3)
"define the Weights associed to the criterium used in the optimization"
void CheckCompatibility (const Standard_Boolean check=Standard_True)
I guess that the aim of this is to orient the wires in a consistent way.
The default values are:
criterium weights: 0.4, 0.2, 0.4;
parametrization type: ChordLength
check compatibility: true