All Frameworks Class Hierarchy This Framework Previous Next Indexes
TopologicalOperators Class CATDynThickness
Mathematics.CATCGMVirtual
|
+---GeometricObjects.CATCGMOperator
|
+---NewTopologicalObjects.CATTopOperator
|
+---TopologicalOperators.CATDynOperator
|
+---CATDynThickness
Usage: you must use this class as is. You should never derive it.
public class CATDynThickness
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 CATDynOperator::GetResult method.
To use it:
- Create it with the CATCreateDynThickness 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 CATICGMContainer.Remove method to remove them from the geometric factory, after the operator deletion.
- delete it after use with the usual C++ delete operator.
Constructor and Destructor Index
- o
~CATDynThickness()
-
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.
Constructor and Destructor
o ~CATDynThickness
public virtual ~CATDynThickness( | ) |
-
Methods
o Append
-
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 void SetDefaultOffsetValue( | CATLength | iOffsetValue)= 0 |
-
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
-
Defines the state of the resulting body.
- Parameters:
-
- iOnOrOff
- The state of the resulting body.
o SetSharpBorderMode
public virtual void SetSharpBorderMode( | short | iSharpBorderOptimisation) = 0 |
-
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: CATDynThickness.h
If needed, your Imakefile.mk should include the module: CATTopologicalOperators