All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

TopologicalOperators Class CATTopSimplify

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

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


public class CATTopSimplify

Class representing the operator that simplifies a whole body or selected cells of a body.

The CATTopSimplify operator follows the global frame of the topological 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.


Constructor and Destructor Index


o ~CATTopSimplify()

Method Index


o GetResult()
Returns a pointer to the resulting body.
o Run()
Runs this operator.
o SetCellsToRemove(CATLISTP(CATCell)&)
Defines the cells to remove during simplification.
o SetCellsToSimplify(CATLISTP(CATCell)&)
Defines the cells to simplify.
o SetFreezeMode(short)
Defines the state of the resulting body.

Constructor and Destructor


o ~CATTopSimplify
public virtual ~CATTopSimplify()

Methods


o GetResult
public virtual CATBody* GetResult()= 0
Returns a pointer to the resulting body.
Must be called after the Run method only once. A second call returns a NULL pointer.
Returns:
The pointer to the resulting body. Use CATICGMContainer.Remove if you do not want to keep it.
o Run
public virtual int Run()= 0
Runs this operator.
o SetCellsToRemove
public virtual void SetCellsToRemove(CATLISTP(CATCell)& iCellsToRemove)= 0
Defines the cells to remove during simplification.
Parameters:
iCellsToRemove
The list of cells to remove. This restricts the simplification to the cells bounded to these cells only. This method is only currently available for edges. This method can not be called together with the SetCellsToSimplify method.
o SetCellsToSimplify
public virtual void SetCellsToSimplify(CATLISTP(CATCell)& iCellsToSimplify)= 0
Defines the cells to simplify.
Parameters:
iCellsToSimplify
The list of cells to simplify. This restricts the simplification to these cells only. This method is only currently available for faces. This method can not be called together with the SetCellsToRemove method.
o SetFreezeMode
public virtual void SetFreezeMode(short iMode= 1 )= 0
Defines the state of the resulting body.
Parameters:
iMode
The state of the resulting body.
Legal values:
0
The resulting CATBody is not frozen: it can be modified afterwards.
1
The resulting CATBody is frozen: it cannot be modified afterwards.

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

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