All Frameworks Class Hierarchy This Framework Previous Next Indexes
TopologicalOperators Class CATHybDisconnect
Mathematics.CATCGMVirtual
|
+---GeometricObjects.CATCGMOperator
|
+---NewTopologicalObjects.CATTopOperator
|
+---TopologicalOperators.CATHybOperator
|
+---TopologicalOperators.CATHybOperatorImp
|
+---TopologicalOperators.CATHybBoolean
|
+---CATHybDisconnect
Usage: you must use this class as is. You should never derive it.
public class CATHybDisconnect
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.
- CATHybDisconnect is created with the CATCreateTopDisconnect global function.
It must be
directly deleted with the usual C++ delete operator 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:
- CATCreateTopDisconnect
Constructor and Destructor Index
- o
~CATHybDisconnect()
-
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 ~CATHybDisconnect
public ~CATHybDisconnect( | ) |
-
Methods
o GetCorrespondingPackNumber
public int GetCorrespondingPackNumber( | CATCell* | 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 int GetCorrespondingSide( | CATCell* | 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 int GetQueryMode( | )const |
-
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 void SetQueryMode( | int | 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: CATHybDisconnect.h
If needed, your Imakefile.mk should include the module: CATTopologicalOperators