GMOperatorsInterfaces Interface CATICGMShellOperatorPlus
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATICGMShellOperatorPlus
Interface representing the topological operator of shell.
A shell operation is available on bodies containing volumes: it corresponds to
two thickness operations on the body, with two different
offset values, followed by a subtraction between
the results of the thickness operations.
As all the topological operators, the input objects are not modified. The resulting body is
a new one, that you can get by using the CATICGMShellOperatorPlus::GetResult method.
To use it:
- Create it with the CATCGMCreateShellOperatorPlus global function.
- Tune it with appropriate options, using the SetXxx methods.
- Run it
- Get the resulting GetResult method. If you do not want
to keep these resulting body, use the method to remove them from the geometric factory, after the operator deletion.
- Release the operator with the Release method after use.
Method Index
- o
AppendOpening(CATLISTP(CATFace)&)
- Specifies the list of faces to be removed.
- o
AppendSpecialOffset(CATLISTP(CATFace)&,CATLength,CATLength)
- Modifies the offset values for a list of faces of the body to shell.
- 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)
- Sets the deviation allowed by the user.
- o
SetDeviationMode(CATBoolean)
- Sets the deviation mode.
- o
SetLocalRegularization(CATBoolean)
- Requires a local smoothing of a face when this face cannot be offsetted as a whole.
- o
SetOffsetMixte(CATBoolean)
- Sets the OffsetMixte options.
Methods
o AppendOpening
public virtual AppendOpening( | const | iOpenFaces) |
-
Specifies the list of faces to be removed.
- Parameters:
-
- iOpenFaces
- The list of faces
o AppendSpecialOffset
public virtual AppendSpecialOffset( | const | iSpecOffsetFaces, |
| | iInternSpecialOffsetValue, |
| | iExternSpecialOffsetValue) |
-
Modifies the offset values for a list of faces of the body to shell.
- Parameters:
-
- iSpecialOffset
- A list of faces.
- iInternalSpecialOffset
- The list of the corresponding internal offsets.
- iExternalSpecialOffset
- The list of the corresponding external offsets.
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
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) |
-
Sets the deviation allowed by the user.
- Parameters:
-
- iDeviation
- The value of the deviation. This value must be positive.
o SetDeviationMode
public virtual SetDeviationMode( | | iWithDeviation) |
-
Sets the deviation mode.
- Parameters:
-
- iWithDeviation
-
- TRUE
- the regularizator uses the deviation value which is specified by the user.
- FALSE
- the regularizator does not use the user value (default value).
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 OffsetMixte options.
- Parameters:
-
- iWithRegul
-
- 1
- Regularization of "tricky faces" with diagnosis.
- 0
- No regularization
This object is included in the file: CATICGMShellOperatorPlus.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.