All Frameworks Class Hierarchy This Framework Indexes
GMOperatorsInterfaces Class CATICGMHybDisconnect
Usage: you must use this class as is. You should never derive it.
public class CATICGMHybDisconnect
Class defining the operator that inserts vertices in a wire or skin body, or
inserts edges in a skin body.
It follows the general frame of all 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.
- CATICGMHybDisconnect is created with the CATCGMCreateTopDisconnect global function.
It must be
directly released with the Release method after use.
It is not streamable.
- The intersection can be restricted to a given domain on each body with the methods
SetFirstDomainToIntersect and SetSecondDomainToIntersect
- 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.
- See also:
- CATCGMCreateTopDisconnect
Constructor and Destructor Index
- o
CATICGMHybDisconnect()
- Constructor
Method Index
- o
GetCorrespondingPackNumber(CATCell*)
- Returns the rank of a created cell.
- o
GetCorrespondingSide(CATCell*)
- Returns the location of the created cell.
- o
GetQueryMode()
- Returns the state of the query mode.
- o
SetQueryMode(int)
- Activates the query mode.
Constructor and Destructor
o CATICGMHybDisconnect
| public CATICGMHybDisconnect( | ) |
-
Constructor
Methods
o GetCorrespondingPackNumber
| public virtual GetCorrespondingPackNumber( | | iCell) |
-
Returns the rank of a created cell.
To be called after the Run method, if the query mode is activated.
- Parameters:
-
- iCell
- The pointer to a created cell.
- Returns:
- The corresponding rank. It may happen that several cells are generated on the same side of the
cutting object. If these cells are not directly connected, they are labelled by this method.
o GetCorrespondingSide
| public virtual GetCorrespondingSide( | | iCell) |
-
Returns the location of the created cell.
To be called after the Run method, if the query mode is activated.
- Parameters:
-
- iCell
- The pointer to a created cell.
- Returns:
- The location of the cell with regards to the cutting body.
Legal values: 1 if it is at the left side,
-1 if it is at the right side.
o GetQueryMode
| public virtual GetQueryMode( | ) |
-
Returns the state of the query mode.
- Returns:
- The activation of the query mode.
Legal values: 1 for rank + location activated (default value), 2 for rank activated, 0 for deactivated.
o SetQueryMode
| public virtual SetQueryMode( | | iQueryMode | = 1) |
-
Activates the query mode.
To be called before the Run method.
- Parameters:
-
- iQueryMode
- The activation of the query mode.
Legal values: 1 for rank + location activated (default value), 2 for rank activated, 0 for deactivated.
The deactivation gives better performance.
This object is included in the file: CATICGMHybDisconnect.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces