GMOperatorsInterfaces Interface CATICGMHybTrim
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATICGMHybTrim
Class defining the operator that trims two bodies.
The input bodies must intersect.
The two bodies must have the same dimensionality and be wires or shells.
Each body is split by the other one. The Trim operation cannot complete if the bodies do not intersect.
It follows the general frame of all operators and satisfies to the smart mechanism: the
input bodies are not modified. A new resulting body is created,
possibly sharing data with the input bodies.
- CATICGMHybTrim can be created by different global functions:
- CATCGMCreateTopTrim
- CATCGMCreateTopTrimOnSupport
- CATCGMCreateTopTrimShell
- CATCGMCreateTopTrimShellWithKeepRemove
- CATCGMCreateTopTrimWire
- CATCGMCreateTopTrimWireWithKeepRemove
- It must be
directly released with the Release method after use.
It is not streamable.
- 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.
- See also:
-
- See also:
-
- See also:
-
- See also:
-
- See also:
-
- See also:
-
Method Index
- o
GetSimplifyMode()
- Retrieves the simplify mode.
- o
Run()
-
- o
SetSimplifyMode(int)
- Activates or deactivates simplification of the result.
Methods
o GetSimplifyMode
public virtual GetSimplifyMode( | ) |
-
Retrieves the simplify mode.
- Returns:
-
- 0: the "simplify" mode is not activated
- 1: the "simplify" mode is activated.
o Run
-
o SetSimplifyMode
public virtual SetSimplifyMode( | | yes_or_no | = 1) |
-
Activates or deactivates simplification of the result.
Set the simplify mode before running the operator.
- Parameters:
-
- yes_or_no
-
- 0: deactivates the "simplify" mode
- 1: activates the "simplify" mode.
This object is included in the file: CATICGMHybTrim.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.