GMOperatorsInterfaces Global Function CATCGMCreateTopSplitShell


CATCGMCreateTopSplitShell( iFactory,
iData,
iBodyToCut,
iCuttingBody,
iSelectMode= POSITIVE_POSITIVE_SIDE,
iExtrapolMode= TANGENT_DIRECTION)
Constructs an operator that splits a CATShell domain by a CATShell or a CATWire domain.
The body to split and the cutting body must only contain one shell domain and one (shell or wire) domain respectively.
Orientation: The orientation of the resulting domain is the orientation of the domain to be split.
Journal:
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 shell domain.
iCuttingBody
A pointer to the cutting body. It must only contain one (wire or shell) domain
iSelectMode
The selection of the resulting parts. Do not use BOTH_SIDES for a split operation.
  • Shell cut by a shell:
    POSITIVE_POSITIVE_SIDE or POSITIVE_NEGATIVE_SIDE
    The partitions to keep are pointed to by the orientation of the splitting shell.
    NEGATIVE_POSITIVE_SIDE or NEGATIVE_NEGATIVE_SIDE
    The partitions to remove are pointed to by the orientation of the splitting shell.
    BOTH_SIDES
    Do not use this value.
  • Shell cut by a wire:
    POSITIVE_POSITIVE_SIDE or POSITIVE_NEGATIVE_SIDE
    When standing along the shell orientation and watching in the direction of the wire leads to have the kept partitions to the left.
    NEGATIVE_POSITIVE_SIDE or NEGATIVE_NEGATIVE_SIDE
    When standing along the shell orientation and watching in the direction of the wire leads to have the kept partitions to the right.
    BOTH_SIDES
    Do not use this value.
iExtrapolMode
The extrapolation mode to specify when the cutting body does not cut right along the body to cut.
  • 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, IUnknown#Release] The pointer to the created operator. To be released with the Release method afer use.

This object is included in the file: CATCGMCreateTopBoolean.h

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.