All Frameworks Class Hierarchy This Framework Previous Next Indexes
TopologicalOperators Class CATSkinExtrapol
Mathematics.CATCGMVirtual
|
+---GeometricObjects.CATCGMOperator
|
+---NewTopologicalObjects.CATTopOperator
|
+---CATSkinExtrapol
Usage: you must use this class as is. You should never derive it.
public class CATSkinExtrapol
Class representing an operator that extrapolates a shell body.
The edges to extrapolate must be on the boundary of the shell, or
must lie on a bounding edge of a shell.
The extrapolation values can be different for each edge. A positive
value defines an extrapolation along the outside direction of the shell.
Current limitation: the operator runs on bodies that
only contain one shell, made of only one face. Moreover,
the extrapolation gives a result that is continuous in curvature.
To use it:
- Create it with the CATCreateSkinExtrapol global function.
- Tune it with appropriate options, using the SetXxx methods.
- Run it
- Get the resulting body, using 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, after the operator deletion.
- Delete it after use with the usual C++ delete operator.
Constructor and Destructor Index
- o
~CATSkinExtrapol()
-
Method Index
- o
Append(CATEdge*,CATLength)
- Appends an edge to extrapolate.
- o
Append(CATLISTP(CATEdge),CATLength)
- Appends a list of edges to extrapolate.
- o
GetJournal()
- Returns a pointer to the topological journal dedicated to this CATSkinExtrapol operator.
- o
GetResult()
- Returns the pointer to the resulting body.
- o
Run()
- Runs this operator.
- o
SetDefaultExtrapolationValue(CATLength)
- Selects all the edges of the shell boundary and sets to them a common extrapolation value.
- o
SetFreezeMode(CATBodyFreezeMode)
- Sets the ability to later modify the resulting body.
- o
SetPropagationMode(int)
- Defines the propagation mode of the extrapolation value.
Constructor and Destructor
o ~CATSkinExtrapol
public ~CATSkinExtrapol( | ) |
-
Methods
o Append
-
Appends an edge to extrapolate.
It replaces the current value of an already selected edges by iExtrapolValue.
- Parameters:
-
- iBoundaryEdge
- The edge to append.
- iExtrapolValue
- The extrapolation value for the iBoundaryEdge edge.
o Append
-
Appends a list of edges to extrapolate.
It replaces the current value of an already selected edges by iExtrapolValue.
- Parameters:
-
- iBoundaryEdges
- The list of edges to append.
- iExtrapolValue
- The common extrapolation value for all the edges of the iBoundaryEdges list.
o GetJournal
-
Returns a pointer to the topological journal dedicated to this CATSkinExtrapol operator.
Only available if a journal was given at the creation of the operator.
o GetResult
-
Returns the pointer to the resulting body.
o Run
-
Runs this operator.
o SetDefaultExtrapolationValue
public void SetDefaultExtrapolationValue( | CATLength | iExtrapolValue) |
-
Selects all the edges of the shell boundary and sets to them a common extrapolation value.
- Parameters:
-
- iExtrapolValue
- The new current extrapolation value of the already selected edges.
o SetFreezeMode
-
Sets the ability to later modify the resulting body.
- Parameters:
-
- iFreezeMode
- The freeze mode.
o SetPropagationMode
public void SetPropagationMode( | int | iPropagationMode) |
-
Defines the propagation mode of the extrapolation value.
- Parameters:
-
- iPropagationMode
-
- 0
- No propagation of the extrapolation value.
- 1
- Defines the automatic definition of the extrapolation value on an edge
to the one of its tangential adjacent edges.
This mode is used by default at the creation of the operator.
This object is included in the file: CATSkinExtrapol.h
If needed, your Imakefile.mk should include the module: CATTopologicalOperators