All Frameworks  Class Hierarchy  This Framework  Indexes

TopologicalOperators Global Function CATCreateTopTrimShellWithKeepRemove


CATHybTrim * CATCreateTopTrimShellWithKeepRemove(CATGeoFactory* iFactory,
CATTopData* iData,
CATBody* iBodyToTrim,
CATBody* iTrimmingBody,
CATHybExtrapolationMode iExtrapolMode)
Constructs an operator that trims two CATShell 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 contain only one shell domain.
iTrimmingBody
A pointer to the second body. It must contain only one shell domain.
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.
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.