All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

NewTopologicalObjects Class CATRecomposeShells

Mathematics.CATCGMVirtual
  |
  +---GeometricObjects.CATCGMOperator
    |
    +---NewTopologicalObjects.CATTopOperator
      |
      +---CATRecomposeShells
 

Usage: you must use this class as is. You should never derive it.


public class CATRecomposeShells

Class defining an operator that recomposes a multi-lump body from a list of shells to be removed or a list of shells to be kept.


Constructor and Destructor Index


o ~CATRecomposeShells()
Destructor

Method Index


o GetConflictingShells(CATShell*&,CATShell*&)
When the specification of the shells leads to a matter conflict, no result is generated and GetResult returns a NULL pointer.
o GetResult()
Retrieves the resulting body.
o RemoveInternalShells()
Removes all the internal shells.
o Run()
Runs the operator.
o SetCellsToKeep(CATLISTP(CATCell)&)
Specifies the list of cells to be kept.
o SetCellsToRemove(CATLISTP(CATCell)&)
Specifies the list of cells to be removed.
o SetShellsToKeep(CATLISTP(CATFace)&)
Specifies the list of faces to be kept.
o SetShellsToKeep(CATLISTP(CATShell)&)
Specifies the list of shells to be kept.
o SetShellsToRemove(CATLISTP(CATFace)&)
Specifies the list of faces to be removed.
o SetShellsToRemove(CATLISTP(CATShell)&)
Specifies the list of shells to be removed.

Constructor and Destructor


o ~CATRecomposeShells
public virtual ~CATRecomposeShells()
Destructor

Methods


o GetConflictingShells
public int GetConflictingShells(CATShell*& oIncludingShell,
CATShell*& oIncludedShell) const
When the specification of the shells leads to a matter conflict, no result is generated and GetResult returns a NULL pointer. In this case, you can use GetConflictingShells to determine which shells are conflicting.
Parameters:
oIncludingShell
The including shell: can be either an external shell from the initial body or an internal shell removed from the initial body.
oIncludedShell
The included shell: external shell from the initial body and included the initial body or an internal shell removed from the initial body. and included in oIncludingShell
Returns:
0 (no conflict) - 1 (conflict has been detected).
o GetResult
public virtual CATBody * GetResult()
Retrieves the resulting body.
o RemoveInternalShells
public void RemoveInternalShells()
Removes all the internal shells.
o Run
public virtual int Run()
Runs the operator.
o SetCellsToKeep
public void SetCellsToKeep(CATLISTP(CATCell)& iCellsToKeep)
Specifies the list of cells to be kept.
o SetCellsToRemove
public void SetCellsToRemove(CATLISTP(CATCell)& iCellsToRemove)
Specifies the list of cells to be removed.
o SetShellsToKeep
public void SetShellsToKeep(CATLISTP(CATFace)& iShellsToKeep)
Specifies the list of faces to be kept.
o SetShellsToKeep
public void SetShellsToKeep(CATLISTP(CATShell)& iShellsToKeep)
Specifies the list of shells to be kept.
o SetShellsToRemove
public void SetShellsToRemove(CATLISTP(CATFace)& iShellsToRemove)
Specifies the list of faces to be removed.
o SetShellsToRemove
public void SetShellsToRemove(CATLISTP(CATShell)& iShellsToRemove)
Specifies the list of shells to be removed.

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

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