CATPartUseItf Interface CATIPdgUsePrtBooleanFactory
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIPdgUsePrtBooleanFactory
Class to define common boolean 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 may have no feature.
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
CreateAdd(CATBaseUnknown_var,CATBaseUnknown_var,CATBoolean)
- Adds iSecond body to iFirst body.
- o
CreateAssemble(CATBaseUnknown_var,CATBaseUnknown_var,CATBoolean)
- Assembles iSecond body to iFirst body.
- o
CreateIntersect(CATBaseUnknown_var,CATBaseUnknown_var,CATBoolean)
- Intersects iSecond body to iFirst body.
- o
CreateRemove(CATBaseUnknown_var,CATBaseUnknown_var,CATBoolean)
- Removes iSecond body to iFirst body.
- o
CreateVolumicAdd(CATBaseUnknown_var,CATBaseUnknown_var,CATBoolean)
- Adds iSecond volume or body to iFirst volume.
- o
CreateVolumicIntersect(CATBaseUnknown_var,CATBaseUnknown_var,CATBoolean)
- Intersects iSecond volume or body to iFirst volume.
- o
CreateVolumicRemove(CATBaseUnknown_var,CATBaseUnknown_var,CATBoolean)
- Removes iSecond volume or body to iFirst volume.
Methods
o CreateAdd
public virtual CreateAdd( | | iFirst_input, |
| | iSecond_input, |
| | AggregateSecondOperand | = TRUE ) |
-
Adds iSecond body to iFirst body.
- Parameters:
-
- iFirst
- Current body.
- iSecond
- Body to be added to the iFirst body.
- AggregateSecondOperand
- Whether iSecond has to be aggregated to iFirst
- Returns:
- The created boolean operation.
o CreateAssemble
public virtual CreateAssemble( | | iFirst_input, |
| | iSecond_input, |
| | AggregateSecondOperand | = TRUE ) |
-
Assembles iSecond body to iFirst body.
- Parameters:
-
- iFirst
- Current body.
- iSecond
- Body to be assembled to the iFirst body. If the polarity of the first
feature of the iSecond body is either positive nor negative, the operation
will either add nor remove iSecond body to iFirst body.
- AggregateSecondOperand
- Whether iSecond has to be aggregated to iFirst
- Returns:
- The created boolean operation.
o CreateIntersect
public virtual CreateIntersect( | | iFirst_input, |
| | iSecond_input, |
| | AggregateSecondOperand | = TRUE ) |
-
Intersects iSecond body to iFirst body.
- Parameters:
-
- iFirst
- Current body.
- iSecond
- Body to be intersected to the iFirst body.
- AggregateSecondOperand
- Whether iSecond has to be aggregated to iFirst
- Returns:
- The created boolean operation.
o CreateRemove
public virtual CreateRemove( | | iFirst_input, |
| | iSecond_input, |
| | AggregateSecondOperand | = TRUE ) |
-
Removes iSecond body to iFirst body.
- Parameters:
-
- iFirst
- Current body.
- iSecond
- Body to be removed to the iFirst body.
- AggregateSecondOperand
- Whether iSecond has to be aggregated to iFirst
- Returns:
- The created boolean operation.
o CreateVolumicAdd
public virtual CreateVolumicAdd( | | iFirst_input, |
| | iSecond_input, |
| | AggregateSecondOperand | = TRUE ) |
-
Adds iSecond volume or body to iFirst volume.
- Parameters:
-
- iFirst
- Volume to be modified.
- iSecond
- Volume or body to be added to the iFirst volume.
- AggregateSecondOperand
- Whether iSecond has to be aggregated to iFirst if iSecond is a body
- Returns:
- The created volumic boolean operation.
o CreateVolumicIntersect
public virtual CreateVolumicIntersect( | | iFirst_input, |
| | iSecond_input, |
| | AggregateSecondOperand | = TRUE ) |
-
Intersects iSecond volume or body to iFirst volume.
- Parameters:
-
- iFirst
- Volume to be modified.
- iSecond
- Volume or body to be intersected to the iFirst volume.
- AggregateSecondOperand
- Whether iSecond has to be aggregated to iFirst if iSecond is a body
- Returns:
- The created volumic boolean operation.
o CreateVolumicRemove
public virtual CreateVolumicRemove( | | iFirst_input, |
| | iSecond_input, |
| | AggregateSecondOperand | = TRUE ) |
-
Removes iSecond volume or body to iFirst volume.
- Parameters:
-
- iFirst
- Volume to be modified.
- iSecond
- Volume or body to be removed to the iFirst volume.
- AggregateSecondOperand
- Whether iSecond has to be aggregated to iFirst if iSecond is a body
- Returns:
- The created volumic boolean operation.
This object is included in the file: CATIPdgUsePrtBooleanFactory.h
If needed, your Imakefile.mk should include the module: CATPartUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.