Constructs an operator that splits a CATWire domain by a CATShell,a CATWire or a
CATVertexInVolume domain.
The body to split and the cutting body must only contain
one shell domain and one (shell, wire or vertexInVolume) domain respectively.
Orientation: The orientation of the resulting body is the orientation
of the body to cut.
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.
iBodyToCut
A pointer to the body to cut. It must only contain one wire
domain.
iCuttingBody
A pointer to the cutting 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