GMOperatorsInterfaces Interface CATICGMDynBoolean
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATICGMDynBoolean
Class defining the boolean operations on skins and solids.
Boolean operations
on wires are performed by using the CATICGMHybBoolean operator as well as its derived classes.
The CATICGMDynBoolean 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 CATICGMDynBoolean operator is created with the CATCGMCreateDynBoolean global function:
It must be directly released with the Release method. 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 method to remove it from the geometric factory.
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.
Methods
o NoSimplif
public virtual NoSimplif( | ) |
-
Defines a mode such that the resulting body is not simplified.
o SetContactFacesForUnion
public virtual SetContactFacesForUnion( | | iBody, |
| const | iContactFaces) |
-
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. In other words,
the result of boolean operation should not be changed by using this optimisation.
- 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).
This object is included in the file: CATICGMDynBoolean.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.