Global function to create an operator that trims a shell or a wire by a volume.
The generated result is made up of the portions of the input shell or wire which are
inside or outside the input volume.
The body to be trimmed can be a multi-domain body. The domains making up the input body do
not have necessarily to be of the same type. For example, the input body can contain a mixture of shells
and lumps.
All the cells of the input body are trimmed by the volume and the portions to be kept
are to be specifed by using the SetSelectionType method. Resulting sub-elements
can be merged.
The CATICGMTopRelimitByVolume operator is created with the CATCGMCreateRelimitByVolume
global function and is directly released with the Release method.
It is is not streamable.
The CATICGMTopRelimitByVolume operator is a multi-run operator:
the methods to set parameters as well as the Run and GetResult methods
can be called several times from the same operator.
- Parameters:
-
- iFactory
- A pointer to the factory of the resulting body.
- iTopData
- A pointer to the topological data.
- iBodyToRelimit
- A pointer to the body to be trimmed or relimited.
- iSolidBody
- A pointer to the solid used as trimming object.
- Returns:
- [out, IUnknown#Release]