Constructs an operator that splits one body by another one.
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 iBodyToSplit.
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.
iBodyToSplit
The pointer to the first body to cut. It can contain several
domains. In this case, the operator only processes the domains of highest dimension.
iSideToKeep
The side to keep
Legal values:
1
The left side is kept
-1
The right side is kept
iSplittingBody
The pointer to the body that splits iBodyToSplit. It can contain several
domains. In this case, the operator only processes the domains of highest dimension.
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:
The pointer to the created operator. To delete with the usual C++ delete operator after use.
This object is included in the file: CATCreateTopSplit.h