GMOperatorsInterfaces Interface CATICGMHybAssemble

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATICGMHybAssemble

Class defining the operator that assembles two bodies.

This operator operates on the 2D (CATShell), 1D (CATWire) and 0D (CATVertexInVolume) domains of a CATBody. It follows the general frame of all operator 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.

See also:


Method Index


o GetAllMergedEdges()
Retrieves merged cells in a body (to use after run).
o GetSimplifyMode()
Returns simplify mode.
o GetSuppressBody()
Retrieves the suppressed cells in a body.
o GetSuppressMode()
Returns the suppress mode.
o Run()
o SetCellsToMerge(CATLISTP(CATCell)&)
Specifies a list of cells to be merged in a local join.
o SetMatchingCells(CATLISTP(CATCell)&)
Specifies border cells of different skins to assemble to match up, in order to avoid unnecessary calculations.
o SetReturnSeparateBodies(CATBoolean)
Activates SeparateBodies mode : in the case of more than one resulting domain, each domain is returned in a different body.
o SetSimplifyMode(int)
Activates simplify mode: operator tries to simplify result.
o SetSuppressMode(int)
Activates suppress mode : in the case of invalid cells, operator does a second pass after having removed them.
o SetVolumeCreationMode(CATBoolean)
Activates Volume creation mode: if the resulting skin is closed, operator creates and returns the volume bounded by this skin.

Methods


o GetAllMergedEdges
public virtual GetAllMergedEdges()
Retrieves merged cells in a body (to use after run).
Returns:
The body containing all merged edges.
o GetSimplifyMode
public virtual GetSimplifyMode()
Returns simplify mode.
Returns:

Legal values:
0
No simplification of result.
1
Simplification of result.
o GetSuppressBody
public virtual GetSuppressBody()
Retrieves the suppressed cells in a body.
Returns:
The suppressed body: the body contains all suppressed cells.
o GetSuppressMode
public virtual GetSuppressMode()
Returns the suppress mode.
Returns:

Legal values:
0
suppress mode not active.
1
suppress mode is active.
o Run
public virtual Run()
o SetCellsToMerge
public virtual SetCellsToMerge( const iListOfCells)
Specifies a list of cells to be merged in a local join.
Parameters:
iCellsToMerge
The cells to be merged.
o SetMatchingCells
public virtual SetMatchingCells( const iMatchingCells)
Specifies border cells of different skins to assemble to match up, in order to avoid unnecessary calculations.
Parameters:
iMatchingCells
The border cells of the skins that are matching together.
o SetReturnSeparateBodies
public virtual SetReturnSeparateBodies( iSeparateBodiesMode)
Activates SeparateBodies mode : in the case of more than one resulting domain, each domain is returned in a different body. Resulting bodies may be retrieved calling NextResult before each call to GetResult.
This option is not activated by default.
Parameters:
iSeparateBodiesMode

Legal values:
FALSE
All domains will be in the same body.
TRUE
One body for each domain.
o SetSimplifyMode
public virtual SetSimplifyMode( yes_or_no= 1)
Activates simplify mode: operator tries to simplify result.
This option is not activated by default.
Parameters:
yes_or_no

Legal values:
0
No simplification of result.
1
Simplification of result.
o SetSuppressMode
public virtual SetSuppressMode( yes_or_no= 1)
Activates suppress mode : in the case of invalid cells, operator does a second pass after having removed them. Invalid cells may be retrieved with method GetSupressBody.
This option is not activated by default.
Parameters:
yes_or_no

Legal values:
0
No assemble with invalid cells.
1
Force assemble with invalid cells.
o SetVolumeCreationMode
public virtual SetVolumeCreationMode( iVolumeCreation= FALSE)
Activates Volume creation mode: if the resulting skin is closed, operator creates and returns the volume bounded by this skin.
Parameters:
iVolumeCreation

Legal values:
FALSE
No volume creation.
TRUE
Volume creation if result is closed.

This object is included in the file: CATICGMHybAssemble.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.