All Frameworks Class Hierarchy This Framework Previous Next Indexes
TopologicalOperators Class CATHybOperator
Mathematics.CATCGMVirtual
|
+---GeometricObjects.CATCGMOperator
|
+---NewTopologicalObjects.CATTopOperator
|
+---CATHybOperator
Usage: you must use this class as is. You should never derive it.
public class CATHybOperator
Class defining the operators operating with surfacic and wireframe entities.
These operators operate on the 2D (CATShell), 1D (CATWire) and 0D (CATVertexInVolume)
domains of a CATBody.
They follow the use frame of all operator and satisfy to the smart mechanism: the
input bodies are not modified. A new resulting body is created,
possibly sharing data with the input ones.
- A CATHybOperator is created with a global function:
- CATCreateTopAssemble: for an operator that assembles CATShell domains or CATWire domains
- CATCreatTopDisconnect: for an operator that inserts a vertex in a wire or loop, or an edge in a shell
- CATCreatTopIntersect: for an operator that intersects two bodies
- CATCreateTopSplit: for an operator that splits a domain by
another one
- CATCreateTopTrim: for an operator that trims a domain by
another one
together
- CATCreateTopProject: for an operator that projects a domain on
another domain.
It must be
directly deleted with the usual C++ delete operator after use.
It is not streamable.
- Options can be precised with the SetXxx methods, before
asking for the computation with the Run method.
- In both cases, 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.
Constructor and Destructor Index
- o
~CATHybOperator()
-
Method Index
- o
GetFreezeMode()
- Returns the state of the resulting body.
- o
GetResult()
- Returns a pointer to the resulting CATBody of this CATHybOperator.
- o
GetTolerance()
- Returns the tolerance of the geometrically coincident elements to be taken
into acccount by this operator.
- o
SetFreezeMode(short)
- Defines the state of the resulting body.
- o
SetTolerance(double)
- Defines the tolerance of the geometrically coincident elements to be taken
into acccount by this operator.
Constructor and Destructor
o ~CATHybOperator
public virtual ~CATHybOperator( | ) |
-
Methods
o GetFreezeMode
public virtual short GetFreezeMode( | )const=0 |
-
Returns the state of the resulting body.
- Returns:
- The state of the resulting body.
Legal values:
- 0
- The resulting CATBody is not frozen: it can be modified afterwards.
- 1
- The resulting CATBody is frozen: it cannot be modified afterwards.
o GetResult
-
Returns a pointer to the resulting CATBody of this CATHybOperator.
Must be called after the Run method only once. A second call returns a NULL
pointer.
- Returns:
- The pointer to the resulting body. Use
CATICGMContainer.Remove if you do not want to keep it.
o GetTolerance
public virtual double GetTolerance( | )const=0 |
-
Returns the tolerance of the geometrically coincident elements to be taken
into acccount by this operator.
- Returns:
- The tolerance.
o SetFreezeMode
public virtual void SetFreezeMode( | short | iMode | =1)=0 |
-
Defines the state of the resulting body.
- Parameters:
-
- iMode
- The state of the resulting body.
Legal values:
- 0
- The resulting CATBody is not frozen: it can be modified afterwards.
- 1
- The resulting CATBody is frozen: it cannot be modified afterwards.
o SetTolerance
public virtual void SetTolerance( | double | iTol)=0 |
-
Defines the tolerance of the geometrically coincident elements to be taken
into acccount by this operator.
Very sensitive point. The default value is the factory resolution.
This value can only be modified in a join operation (when using CATHybAssemble).
- Parameters:
-
- iTol
- The tolerance.
This object is included in the file: CATHybOperator.h
If needed, your Imakefile.mk should include the module: CATTopologicalOperators