GMOperatorsInterfaces Global Function CATCGMCreateTopSplitWire


CATCGMCreateTopSplitWire( iFactory,
iData,
iBodyToCut,
iCuttingBody,
iSelectMode= POSITIVE_POSITIVE_SIDE)
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:
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
Identifies which partitions of the split body are kept.
  • Wire cut by a shell:
    POSITIVE_POSITIVE_SIDE or POSITIVE_NEGATIVE_SIDE
    The partitions to keep are pointed to by the shell orientation.
    NEGATIVE_POSITIVE_SIDE or NEGATIVE_NEGATIVE_SIDE
    The partitions to remove are pointed to by the shell orientation.
  • Wire cut by a wire. The split partitions are alternately assigned NEGATIVE and POSITIVE values, the first partition being NEGATIVE when moving along the wire direction (going from the start vertex to the end vertex). The result is independent on the cutting wire orientation:
    POSITIVE_POSITIVE_SIDE or POSITIVE_NEGATIVE_SIDE
    The POSITIVE partitions are kept.
    NEGATIVE_POSITIVE_SIDE or NEGATIVE_NEGATIVE_SIDE
    The POSITIVE partitions are removed.
  • Wire cut by a Vertex. The wire is split into two partitions. The NEGATIVE part is the first one in the wire when moving along the wire direction (going from the start vertex to the end vertex).
    POSITIVE_POSITIVE_SIDE or POSITIVE_NEGATIVE_SIDE
    The POSITIVE partitions are kept.
    NEGATIVE_POSITIVE_SIDE or NEGATIVE_NEGATIVE_SIDE
    The POSITIVE partitions are removed.
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.