All Frameworks Class Hierarchy This Framework Previous Next Indexes
TopologicalOperators Class CATDynBoolean
Mathematics.CATCGMVirtual
|
+---GeometricObjects.CATCGMOperator
|
+---NewTopologicalObjects.CATTopOperator
|
+---TopologicalOperators.CATDynOperator
|
+---CATDynBoolean
Usage: you must use this class as is. You should never derive it.
public class CATDynBoolean
Class defining the boolean operations on skins and solids.
Boolean operations
on wires are performed by using the CATHybBoolean operator as well as its derived classes.
The CATDynBoolean operator follows the global frame of the topological operators and satisfies the smart mechanism:
the input bodies are not modified. A new resulting body is created,
possibly sharing data with the input bodies.
- A CATDynBoolean operator is created with the CATCreateDynBoolean global function:
It must be directly deleted after use with the usual C++ delete operator. It is not streamable.
- Options can be precised with the SetXxx methods, before
asking for the computation with the Run method. In particular, an optimized mode
allows you to do some local operations in union mode.
- 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
~CATDynBoolean()
-
Method Index
- o
NoSimplif()
- Defines a mode such that the resulting body is not simplified.
- o
SetContactFacesForUnion(CATBody*,CATLISTP(CATFace)&)
- Defines an upper set of faces that are touched by the operation.
Data Member Index
- o
iData
-
- o
journal
-
Constructor and Destructor
o ~CATDynBoolean
public virtual ~CATDynBoolean( | ) |
-
Methods
o NoSimplif
public virtual void NoSimplif( | )= 0 |
-
Defines a mode such that the resulting body is not simplified.
o SetContactFacesForUnion
-
Defines an upper set of faces that are touched by the operation.
This method must be called for both input bodies. This optimizes the boolean operation,
that only processes the faces declared here, and can be used to stick
bodies together when then share faces. It is important to give at least all
the faces that are in (even partial) contact or that are intersecting, otherwise
the Boolean operator cannot return a consistent result.
- Parameters:
-
- iBody
- The pointer to the body for which the faces are given.
- iContactFaces
- The list of the pointers to the faces of iBody that are touched in the operation (at least).
Data Members
o iData
public CATTopData* iData)
-
o journal
public CATCGMJournalList* journal=NULL)
-
This object is included in the file: CATDynBoolean.h
If needed, your Imakefile.mk should include the module: CATTopologicalOperators