GMOperatorsInterfaces Global Function CATCGMCreateTopTrimWire


CATCGMCreateTopTrimWire( iFactory,
iData,
iBodyToTrim,
iTrimmingBody,
iSelectMode= POSITIVE_POSITIVE_SIDE)
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:
Parameters:
iFactory
A pointer to the factory of the resulting body.
iData
A pointer to the topological data.
iBodyToTrim
A pointer to the first body to cut.It must only contain one wire.
iTrimmingBody
A pointer to the second body. It must only contain one (wire, shell or vertexInVolume).
iSelectMode
The selection of the resulting parts:
  • 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, 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.