GMOperatorsInterfaces Interface CATICGMDynSplit
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATICGMDynSplit
Class defining the operator that splits a 3D body.
The CATICGMDynSplit 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 CATICGMDynSplit operator is created with the CATCGMCreateDynSplit global function:
It must be directly released with the Release method. It is not streamable.
- Options can be precised (such as the splitting object) 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 method to remove it from the geometric factory.
Method Index
- o
GetRelimitation()
- Indicates whether the Split Operation has removed some material to the body or not.
- o
SetSelectionMode(CATDynSelectionMode)
- Sets Selection Mode.
- o
SetSplit(CATBody*)
- Defines the splitting body.
- o
SetSplit(CATPlane*)
- Defines the splitting plane.
- o
SetSplit(CATSurface*)
- Defines the splitting surface.
Methods
o GetRelimitation
public virtual GetRelimitation( | ) |
-
Indicates whether the Split Operation has removed some material to the body or not.
- Returns:
- TRUE if it has removed some material, FALSE otherwise.
o SetSelectionMode
public virtual SetSelectionMode( | | iSelectionMode) |
-
Sets Selection Mode.
Allows to decide among 3 possible behaviors for the split operator
(CATDynPositionVsPlaneMode, CATDynKeepMode, CATDynRemoveMode)
- Parameters:
-
- iSelectionMode
- The selection mode. CATDynPositionVsPlaneMode by default.
o SetSplit
public virtual SetSplit( | | iSplittingBody) |
-
Defines the splitting body.
- Parameters:
-
- iSplittingBody
- The pointer to the body that splits the input body. iSplittingBody can contain several
shell domains if their orientations are compatible.
o SetSplit
public virtual SetSplit( | | iSplittingPlane) |
-
Defines the splitting plane.
- Parameters:
-
- iSplittingPlane
- The pointer to the plane that splits the input body.
o SetSplit
public virtual SetSplit( | | iSplittingSurface) |
-
Defines the splitting surface.
- Parameters:
-
- iSplittingSurface
- The pointer to the surface that splits the input body.
This object is included in the file: CATICGMDynSplit.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.