All Frameworks  Class Hierarchy  This Framework  Indexes   

TopologicalOperators Interface CATTopPattern

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


interface CATTopPattern

Class dedicated to pattern operations.
The pattern operation consists in creating multiple instances of an object according to a transformation. A pattern can be a:

Whatever the pattern type, the list of tranformations is to be specified. For rectangular and circular patterns, it is recommended to use the SetRectPattern and SetCirPattern settings in addition to the list of transformations passed to the creation function. This prevents the operator algorithm to launch useless computations. The performances are then enhanced.

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


Method Index


o SetCirPattern(int,CATMathTransformation*,int,CATMathTransformation*)
Defines a canonical circular pattern.
o SetRectPattern(int,CATMathTransformation*,int,CATMathTransformation*)
Defines a canonical rectangular pattern.
o SimplifyTool()
Removes the internal faces between the body to be patterned and the support body.

Methods


o SetCirPattern
public virtual SetCirPattern( NumberOfRows,
RowTransfo,
NumberOfColumns,
ColumnsTransfo)
Defines a canonical circular pattern. This method is to be used in addition to the list of transformations (better performances).
Parameters:
NumberOfRows
The number of circular rows.
RowTransfo
The anguler transformation to be applied to the object to pattern in the circular rows. It must not be set to NULL except if there is only one row.
NumberOfColumns
The number of columns. The columns are sets of instances located along the circle radii.
ColumnsTransfo
The radius transformation to be applied to the object to pattern. It must not be set to NULL except if there is only one column.
o SetRectPattern
public virtual SetRectPattern( NumberOfRows,
RowTransfo,
NumberOfColumns,
ColumnsTransfo)
Defines a canonical rectangular pattern. This method is to be used in addition to the list of transformations (better performances).
Parameters:
NumberOfRows
The number of rows.
RowTransfo
The transformation to be applied to the object to pattern in the rows. It must not be set to NULL except if there is only one row.
NumberOfColumns
The number of columns.
ColumnsTransfo
The transformation to be applied to the object to pattern in the columns. It must not be set to NULL except if there is only one column.
o SimplifyTool
public virtual SimplifyTool()
Removes the internal faces between the body to be patterned and the support body. This operation is performed prior to creating new instances.

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

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