GMOperatorsInterfaces Global Function CATCGMCreateTopPattern


CATCGMCreateTopPattern( iFactory,
iData,
iOperation,
iPart,
iPlane,
iTool,
iListTransfo,
iListJournalInfo= NULL)
Creates a CATICGMTopPattern operator with a body to pattern.
Parameters:
iFactory
The factory of the geometry.
iData
The pointer to the data containing the configuration and the journal.
iOperation
The type of operation:
CATBoolUnion
Pattern union.
CATBoolRemoval
iTool is subtracted to iPart.
iPart
The pointer to the body to pattern.
iPlane
The pointer to the plane of the pattern.
iTool
The pointer to the the first item of the pattern.
iListTransfo
The pointer to the list of tranformation of each occurrence of the pattern.
iListJournalInfo
The pointer to the list of journal "information". This list must have the same size as the list of transformations. The pattern journal is a list of orders:
 [Face_A] - Creation -> [Face_A1] 
 [Face_A] - Creation -> [Face_A2]
 ...
 [Face_A] - Creation -> [Face_Ai]
 ...
 [Face_A] - Creation -> [Face_AN] 
 
in which Face_A is a face belonging to the object to be patterned and Face_Ai the corresponding face in instance i. If N instances are created, there are N orders with Face_A as parent and basically no way to differentiate the faces Face_A1, Face_A2, Face_Ai, ... , Face_AN. The iListJournalInfo argument is a way to add an "info" data to each journal order so that the equivalent faces can be differentiated in each instance.
Returns:
The pointer to the created operator. To Released after use.

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

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