GMOperatorsInterfaces Interface CATICGMDynThickness
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATICGMDynThickness
Interface representing the topological operator of thickness.
A thickness operation blows or shrinks the faces of a volume.
Each face may have its own offset value. The offset values
may be negative: the body is shrunk.
This operator can also be used to offset a shell. In this case, it is recommended to use the
SetSharpBorderMode API with the optimization parameter.
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 CATICGMDynOperator::GetResult method.
To use it:
- Create it with the CATCGMCreateDynThickness global function.
- Tune it with appropriate options, using the SetXxx methods.
- Run it
- Get the resultin body with the 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
Append(CATLISTP(CATFace)&,CATLength)
- Defines the offset value for a given list of faces of a body to thick.
- o
SetDefaultOffsetValue(CATLength)
- Defines the offset value that applies to all the body to thicken.
- o
SetFreezeMode(CATBodyFreezeMode)
- Defines the state of the resulting body.
- o
SetSharpBorderMode(short)
- Defines how borders are transformed in the neighborhood of sharp edges.
Methods
o Append
public virtual Append( | const | iSpecialOffset, |
| | iOffset) |
-
Defines the offset value for a given list of faces of a body to thick.
- Parameters:
-
- iSpecialOffset
- The list of the pointers to faces. The faces must belong to the body to thick.
- iOffset
- The offset value for the faces of iSpecialOffset. If iOffset < 0,
the faces are shrunk.
o SetDefaultOffsetValue
public virtual SetDefaultOffsetValue( | | iOffsetValue) |
-
Defines the offset value that applies to all the body to thicken.
- Parameters:
-
- iOffsetValue
- The offset value for all the faces. If iOffsetValue <0 ,
the faces are shrunk.
o SetFreezeMode
public virtual SetFreezeMode( | | iOnOrOff) |
-
Defines the state of the resulting body.
- Parameters:
-
- iOnOrOff
- The state of the resulting body.
o SetSharpBorderMode
public virtual SetSharpBorderMode( | | iSharpBorderOptimisation) |
-
Defines how borders are transformed in the neighborhood of sharp edges.
- Parameters:
-
- iSharpBorderOptimisation
-
Legal values:
- 0
- Optimization not required
- 1
- Optimization required (the skin is handled like a volume)
This object is included in the file: CATICGMDynThickness.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.