GMOperatorsInterfaces CATICGMTopSimplify

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


public class CATICGMTopSimplify

Class representing the operator that "simplifies" a body or a part of a body.

The simplification operation consists in removing the cells which are not needed for a consistent body topology.
This operation applies to 3D, 2D and 1D bodies:

The simplification is achieved as far as the geometric modeler rules are satisfied, for example, the C2 continuity criteria must be fulfilled all over the faces to be simplified on a skin.
The CATICGMTopSimplify 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 CATICGMTopSimplify()
Constructor

Method Index


o EnableTolerantSimplification(double)
Turns on tolerant simplification.
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 CATICGMTopSimplify
public CATICGMTopSimplify()
Constructor

Methods


o EnableTolerantSimplification
public virtual EnableTolerantSimplification( iRelativeTolerance)
Turns on tolerant simplification. The tolerance is specified as a multplier of the model resolution and is used solely to compare the closeness of two surfaces. Edge gaps may exceed this tolerance, but may not be larger than 100 * model resolution. Currently only simplification of basic canonical surfaces (Planes, Cylinders, Cones, Spheres and Tori) are supported.
Parameters:
iRelativeTolerance
The value by which to multiply the model resolution. The permissible values range from 1e-9 to 100.
o GetResult
public virtual GetResult()
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 if you do not want to keep it.
o Run
public virtual Run()
Runs this operator.
o SetCellsToRemove
public virtual SetCellsToRemove( iCellsToRemove)
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 can not be called together with the SetCellsToSimplify method.
o SetCellsToSimplify
public virtual SetCellsToSimplify( iCellsToSimplify)
Defines the cells to simplify.
Parameters:
iCellsToSimplify
The list of cells to simplify. This restricts the simplification to these cells only. This method can not be called together with the SetCellsToRemove method.
o SetFreezeMode
public virtual SetFreezeMode( iMode= 1)
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: CATICGMTopSimplify.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces

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