All Frameworks  Class Hierarchy  This Framework  Indexes   

TopologicalOperatorsLight Class 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.

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 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 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 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 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: CATHybDisconnect.h
If needed, your Imakefile.mk should include the module: CATTopologicalOperatorsLight

Copyright © 2003, Dassault Systèmes. All rights reserved.