GMOperatorsInterfaces Global Function CATCGMCreateNewTopAssemble


CATCGMCreateNewTopAssemble( iFactory,
iData,
iBodiesToAssemble)
Constructs a CATICGMHybAssemble that assembles bodies. THIS GLOBAL FUNCTION SHOULD BE USED FOR SHELLS and cannot be applied to wires. THIS FUNCTION SHOULD BE PREFERRED OVER CATCGMCreateTopAssemble. The operator only scans the shell domains. It can create closed shells.
Orientation: The orientation of a resulting shell is the orientation of the first face (obtained by the CATDomain::GetCell method) of the first shell (obtained by the CATBody::GetDomain method). Even if a shell cannot be assembled, it is put in the resulting body. However, its orientation may have been changed, if the orientation of its first face and its own orientation are opposite.
Parameters:
iFactory
The pointer to the factory of the geometry.
iData
The pointer to the data defining the software configuration and the journal. If the journal inside iData is NULL, it is not filled.
iBodiesToAssemble
The pointer to the list of bodies containing the domains to assemble. These bodies must contain at least one shell domain. Wires and lumps domains are ignored. The operator does not any self-intersecting tests. If shells are intersecting each other, the operator does not assemble them. However, it put them into the resulting body.
Returns:
[out, IUnknown#Release] The pointer to the created operator. To be released with the Release method after use.

This object is included in the file: CATCGMCreateTopAssemble.h

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