Constructs an operator that trims two CATWire 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 edges that are kept and not cut are written as CATCGMJournal::Keep
The edges that are cut are written as CATCGMJournal::Subdivision
The new vertices are written as CATCGMJournal::Creation
The edges 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 body to be trimmed. It must only contain one wire
domain.
iTrimmingBody
A pointer to the trimming body. It must only contain one (wire, shell or vertexInVolume)
domain.
iSelectMode
The selection of the resulting parts. Here are the legal values:
BOTH_SIDES: Keeps all the domains
POSITIVE_POSITIVE_SIDE: Keeps the domains that are to the right of the cut body and the cutting body.
NEGATIVE_POSITIVE_SIDE: Keeps the domains that are to the left of the cut body and to the right
of the cutting body.
POSITIVE_NEGATIVE_SIDE: Keeps the domains that are to the right of the cut body and to the left
of the cutting body.
NEGATIVE_NEGATIVE_SIDE: Keeps the domains that are to the left of the cut body and to the left
of the cutting body.
The right of a shell cut by another shell is the part of the cut shell that is
pointed out by the orientation of the cutting shell.
The left side is the other one.
The right of a shell cut by a wire is the part of the cut shell such that the
orientation of the shell, the orientation of the wire and the direction on the selected
part is direct.
The right of a wire cut by a shell, a wire or a vertex is the part of the wire
that is pointed out by the
orientation of the wire.
Returns:
[out, delete] The pointer to the created operator. To be deleted after use.
This object is included in the file: CATCreateTopBoolean.h