All Frameworks Class Hierarchy This Framework Indexes
PartInterfaces Interface CATIPrtTrimFactory
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIPrtTrimFactory
Class to define advanced boolean operations called trim operations.
Role: A boolean operation is an operation between two non operated
mechanical bodies. The operation will insert iSecond body
after the last feature
of iFirst body, the iFirst body must have at least one feature.
The trim operation starts with a step of dividing the volumes of the two
bodies in a set of new volumes (volumes which belong only to iFirst body,
volumes which belong only to iSecond body, volumes which belong to both
bodies).
The second step consist to take into account a list of specified faces in
order to define which volumes must be kept or removed.
Precondition:
- Users must set iFirst body as current body.
- The two bodies must be both updated.
- iSecond body must be different of iFirst body and therefore not be
linked to iFirst body (no specification loop is tolered).
Method Index
- o
CreateTrim(CATISpecObject_var,CATISpecObject_var,CATLISTV(CATISpecObject_var)*,CATLISTV(CATISpecObject_var)*,CATLISTV(CATISpecObject_var)*,CATLISTV(CATISpecObject_var)*,CATLISTV(CATISpecObject_var)*,CATLISTV(CATISpecObject_var)*)
- Trim iSecond body to iFirst body.
Methods
o CreateTrim
| public virtual CreateTrim( | | iFirst, |
| | iSecond, |
| const | iRemoveList, |
| const | iKeepList, |
| const | iRemoveByAdjacentList | =0, |
| const | iAdjacentForRemoveList | =0, |
| const | iKeepByAdjacentList | =0, |
| const | iAdjacentForKeepList | =0 ) |
-
Trim iSecond body to iFirst body.
- Parameters:
-
- iFirst
- Current body.
- iSecond
- Body to be trimmed to iFirst body.
Legal values: if iSecond = NULL_var, the operation is a
special trim operation called remove lump operation.
- iRemoveList
- List of non divided faces by trim operation used to indicate which
resulting volumes must be removed.
- iKeepList
- List of non divided faces by trim operation used to indicate which
resulting volumes must be kept.
- iRemoveByAdjacentList
- List of divided faces by trim operation used to indicate which
resulting volumes must be removed.
Legal values: iRemoveByAdjacentList = 0
- iAdjacentForRemoveList
- List of adjacent faces. For each face of iRemoveByAdjacentList list, an
adjacent face which belongs to the other body is needed.
Legal values: iAdjacentForRemoveList = 0
- iKeepByAdjacentList
- List of divided faces by trim operation used to indicate which
resulting volumes must be kept.
Legal values: iKeepByAdjacentList = 0
- iAdjacentForKeepList
- List of adjacent faces. For each face of iKeepByAdjacentList list, an
adjacent face which belongs to the other body is needed.
Legal values: iAdjacentForKeepList = 0
This object is included in the file: CATIPrtTrimFactory.h
If needed, your Imakefile.mk should include the module: CATPartInterfaces