GMOperatorsInterfaces Global Function CATCGMCreateTopTrimOnSupport


CATCGMCreateTopTrimOnSupport( iFactory,
iData,
iFirstBodyToCut,
iFirstSideToKeep,
iSecondBodyToCut,
iSecondSideToKeep,
iBodySupport)
Constructs an operator that mutually trims two bodies on a support context.
Each body is split by the other one. Each body must only contain one domain.
Orientation: The orientation of the domains in the resulting body corresponds to the orientation of the inital domains in the first body iFirstBodyToCut. If no portion of iFirstBodyToCut remains after the trim operation, the orientation of the domains in the resulting body corresponds to the orientation of the inital domains in the second body iSecondBodyToCut.
Parameters:
iFactory
The pointer to the factory that creates the result.
iData
The pointer to the data defining the software configuration and the journal. If the journal inside iData is NULL, it is not filled.
iFirstBodyToCut
The pointer to the first body to cut by iSecondBodyToCut. It can contain several domains. In this case, the operator only processes the domains of highest dimension.
iFirstSideToKeep
The side of iFirstBodyToCut to keep
Legal values:
1
The left side is kept
-1
The right side is kept
iSecondBodyToCut
The pointer to the body that splits iFirstBodyToCut. It can contain several domains. In this case, the operator only processes the domains of highest dimension.
iSecondSideToKeep
The side of iSecondBodyToCut to keep
Legal values:
1
The left side is kept
-1
The right side is kept
iBodySupport
The pointer to the body defining the support.
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: CATCGMCreateTopTrimOnSupport.h

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