GMOperatorsInterfaces Global Function CATCGMCreateTopBoundary


CATCGMCreateTopBoundary( iFactory,
iData,
inputBody,
inputDomain= NULL,
initialCell= NULL,
iPropagateMode= NO_CONTINUITY)
Constructs an operator that creates a piece of boundary of an open CATShell or a CATWire.
By default, all the boundaries are computed (two vertices for a wire, one or more wire(s) for the shell). To get a partial boundary solution, use an iInitialCell.
Orientation: The orientation of initialCell. If initialCell=null, the orientation of the loop of the first face of the shell.
Journal:
Shell
The edges are written as CATCGMJournal::Keep. The first and last vertex of the boundary are written as CATCGMJournal::Creation.
Wire
The two vertices are written as CATCGMJournal::Keep.
Parameters:
iFactory
A pointer to the factory of the resulting body.
iData
A pointer to the topological data.
inputBody
A pointer to the body for which the boundary is asked for. If it contains several domains, use inputDomain to specify which one is to be taken into account.
inputDomain
The domain on which the boundary is computed. To be used if inputBody contains several domains. This argument is not needed when the input body is a single domain one.
iInitialCell
The initial cell from which the boundary is computed.
  • for a CATWire: iInitialCell is a CATVertex. The boundary begins at iInitialCell and ends at the nearest extremity of the CATWire
  • for a CATShell: iInitialCell is a CATEdge. The boundary is propagated according to CATHybPropagateMode. The boundary is retrieved as one or more CATWire.
iPropagateMode
The rule of propagation of a piece of the boundary of a shell domain.
NO_CONTINUITY
No restriction is made on the definition of the boundary. In particular, this boundary can be made of several domains (case of inner loops of a shell).
POINT_CONTINUITY
The boundary stops at the last cell of the bounding domain.
TANGENT_CONTINUITY
The boundary stops at the first vertex where the boundary is not continuous in tangent.
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: CATCGMCreateTopBoundary.h

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