Constructs an operator that trims two CATShell domains.
Each body is split by the other one. Each body must only contain
one domain.
Orientation: The orientation of the resulting body is the orientation
of the first body.
Journal:
The faces that are kept and not cut are written as CATCGMJournal::Keep
The faces that are cut are written as CATCGMJournal::Subdivision
The new edges are written as CATCGMJournal::Creation
The faces that are neither cut, nor kept, are written as CATCGMJournal::Deletion
Parameters:
iFactory
A pointer to the factory of the resulting body.
iData
A pointer to the topological data.
iBodyToTrim
A pointer to the first body to cut. It must contain only one shell domain.
iTrimmingBody
A pointer to the second body. It must contain only one shell domain.
iExtrapolMode
The extrapolation mode during a cutting operation.
This is useful when the cutting body does not cut right along the body to cut, or
vice versa in case of a trim operation. Here are the legal values:
NO_EXTRAPOLATION: No extrapolation is performed. The operator cannot find a solution
if the cutting body does not cut right along the body to cut.
TANGENT_DIRECTION: If the cutting body does not cut right along the body to cut, the extrapolation is
made tangentially to the scar at the last computed point.
Returns:
[out, delete] The pointer to the created operator. To be deleted after use.
This object is included in the file: CATCreateTopBoolean.h