All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

PartInterfaces Interface CATIPrtBooleanOperation

CATIPrtBooleanOperation
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIPrtBooleanOperation

Class to define methods relative to boolean operations.
Role: A boolean operation is an operation between two mechanical bodies. It inserts the second body after the last feature of the first body, the first body may have no feature.


Method Index


o GetFirstOperand()
Returns the first operated body.
o GetSecondOperand()
Returns the second operated body.
o GetTool()
Returns the tool of a boolean operation.
o ModifyFirstOperatedVolume(CATISpecObject_var&)
Modifies the First Operand.
o ModifyOperatedObject(CATISpecObject_var&)
Modifies the Second Operand.
o SwapOperatedVolume()
Swaps the operands.

Methods


o GetFirstOperand
public virtual CATBody_var GetFirstOperand()= 0
Returns the first operated body.
Returns:
The body.
o GetSecondOperand
public virtual CATBody_var GetSecondOperand()= 0
Returns the second operated body.
Returns:
The body. Note that the remove lump operation has no second body (result = NULL_var).
o GetTool
public virtual CATISpecObject_var GetTool()= 0
Returns the tool of a boolean operation.
Returns:
The object linked to the second body. Note that the remove lump operation has no tool (result = NULL_var).
o ModifyFirstOperatedVolume
public virtual HRESULT ModifyFirstOperatedVolume(CATISpecObject_var& iSpecObject) = 0
Modifies the First Operand. input Volume to replace
o ModifyOperatedObject
public virtual HRESULT ModifyOperatedObject(CATISpecObject_var& iSpecObject) = 0
Modifies the Second Operand. input object to repalce with Body or Volume
o SwapOperatedVolume
public virtual HRESULT SwapOperatedVolume()= 0
Swaps the operands. Both the Operands must be Volume. This is available only for Volume Add and Volume UnionTrim Operations

This object is included in the file: CATIPrtBooleanOperation.h
If needed, your Imakefile.mk should include the module: CATPartInterfaces

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