All Frameworks Class Hierarchy This Framework Indexes
GMOperatorsInterfaces Interface CATICGMThickSurfacePlus
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATICGMThickSurfacePlus
Class defining the operator to thicken a body in two opposite directions
according to the offsets specified for the thickening operation.
- A CATICGMThickSurfacePlus operator is created with the
CATCGMCreateThickSurface global function:
It must be directly deleted with the usual C++ delete operator after use.
It is not streamable.
- Options must be specified with the appropriate methods, before
asking for the computation with the Run method.
- The result is accessed with the GetResult method. If you do not want
to keep the resulting body, use the CATICGMContainer.Remove method to remove it from the geometric factory.
Method Index
- o
GetResult()
- Returns the pointer to the resulting body.
- o
Run()
- Runs the operator
- o
SetConstantThickness(CATBoolean)
- Asks for a constant thickness for the resulting shell when one of the offset values is null.
- o
SetDeviationAllowed(CATLength)
-
- o
SetDeviationMode(CATBoolean)
- Sets the deviation mode.
- o
SetG1HealingMode(CATBoolean)
-
- o
SetG1HealingTolerance(double)
-
- o
SetLocalRegularization(CATBoolean)
- Requires a local smoothing of a face when this face cannot be offsetted as a whole.
- o
SetOffsetMixte(CATBoolean)
- Sets the "mixed offset" options.
- o
SetRibbonSimplification(CATBoolean)
- Simplifies geometry and topology of lateral ribbon.
Methods
o GetResult
| public virtual GetResult( | ) |
-
Returns the pointer to the resulting body.
- Returns:
- The pointer to the resulting body, NULL if the operation failed.
If you do not want to keep the resulting body,
use the
CATICGMContainer.Remove method to remove it from the geometric factory, after the operator deletion.
o Run
-
Runs the operator
o SetConstantThickness
| public virtual SetConstantThickness( | | iConstantThickness | = TRUE) |
-
Asks for a constant thickness for the resulting shell when one of the offset values is null.
Applies only when the regularization is activated (SetOffsetMixte)
- Parameters:
-
- iConstantThickness
-
- TRUE
- Default mode: the smoothed/regularized face with null offset is keep in the resulting shell
- FALSE
- The input face with null offset is not modified.
o SetDeviationAllowed
| public virtual SetDeviationAllowed( | | iDeviation) |
-
o SetDeviationMode
| public virtual SetDeviationMode( | | iWithDeviation) |
-
Sets the deviation mode.
When this mode is activated, the regularizator attempts to offset a surface which could not be offsetted otherwise.
Some kind of smoothing is then performed on the resulting body.
- Parameters:
-
- iWithDeviation
-
- TRUE
- Activates the deviation mode and runs the regularizator with
the user deviation specified in the SetDeviationAllowed method.
- FALSE
- Does not use the user specified deviation. There is no call to
the SetDeviationAllowed method.
o SetG1HealingMode
| public virtual SetG1HealingMode( | | iG1HealingMode) |
-
o SetG1HealingTolerance
| public virtual SetG1HealingTolerance( | | iG1HealingTolerance) |
-
o SetLocalRegularization
| public virtual SetLocalRegularization( | | iLocalRegul) |
-
Requires a local smoothing of a face when this face cannot be offsetted as a whole.
This option can result in additional faces. It can only be activated when the
SetOffsetMixte method is used to ask for a surface "regularization".
- Parameters:
-
- iLocalRegul
-
- TRUE
- The local regularization is activated.
- FALSE
- The local regularization is not activated.
o SetOffsetMixte
| public virtual SetOffsetMixte( | | iWithRegul) |
-
Sets the "mixed offset" options.
- Parameters:
-
- iWithRegul
-
- 1
- Regularization of the faces that cannot be offsetted accurately due to their geometry.
- 0
- No regularization
o SetRibbonSimplification
| public virtual SetRibbonSimplification( | | iRibbonSimplification) |
-
Simplifies geometry and topology of lateral ribbon.
- Parameters:
-
- iRibbonSimplification
-
- TRUE
- activates the simplification option.
- FALSE
- deactivates the simplification option (default value).
This object is included in the file: CATICGMThickSurfacePlus.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces