All Frameworks  Class Hierarchy  This Framework  Indexes

TopologicalOperators Global Function CATCreateTopNewSplitShell


CATHybSplit * CATCreateTopNewSplitShell(CATGeoFactory* iFactory,
CATTopData* iData,
CATBody* iBodyToCut,
CATBody* iCuttingBody,
CATHybSelectionMode iSelectMode,
CATHybExtrapolationMode iExtrapolMode,
double iTol)
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 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 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. Here are the legal values:
  • 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.
iExtrapolMode
The extrapolation mode during a cutting operation. This is useful when the cutting body does not cut right along the body to cut, or vice versa in case of a trim operation. Here are the legal values:
  • 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.
iTol
Defines the tolerance of the geometrically coincident elements to be taken into acccount by this operator during the LayDown process.
Returns:
[out, delete] The pointer to the created operator. To be deleted after use.

This object is included in the file: CATCreateTopBoolean.h

Copyright © 2003, Dassault Systèmes. All rights reserved.