GMOperatorsInterfaces Global Function CATCGMCreateTopTrim
-
Constructs an operator that mutually trims two bodies.
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 there is not any portion of iFirstBodyToCut anymore, 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 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.
- 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
- iCuttingBody
- The pointer to the body containing the already computed intersections or projections between iBodyToSplit
and
iSplittingBody, defining the path of the disconnection. It can contain several
domains.
- 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: CATCGMCreateTopTrim.h
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.