All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

PartInterfaces Interface CATIPrtBooleanFactory

CATIPrtBooleanFactory
 

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


interface CATIPrtBooleanFactory

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(CATISpecObject_var,CATISpecObject_var)
Adds iSecond body to iFirst body.
o CreateAdd(CATISpecObject_var,CATISpecObject_var,int)
o CreateAssemble(CATISpecObject_var,CATISpecObject_var)
Assembles iSecond body to iFirst body.
o CreateIntersect(CATISpecObject_var,CATISpecObject_var)
Intersects iSecond body to iFirst body.
o CreateIntersect(CATISpecObject_var,CATISpecObject_var,int)
o CreateRemove(CATISpecObject_var,CATISpecObject_var)
Removes iSecond body to iFirst body.
o CreateRemove(CATISpecObject_var,CATISpecObject_var,int)
o CreateVolumicAdd(CATISpecObject_var,CATISpecObject_var)
Adds iSecond volume to iFirst volume.
o CreateVolumicIntersect(CATISpecObject_var,CATISpecObject_var)
Intersects iSecond volume to iFirst volume.
o CreateVolumicRemove(CATISpecObject_var,CATISpecObject_var)
Removes iSecond volume to iFirst volume.

Methods


o CreateAdd
public virtual CATISpecObject_var CreateAdd(CATISpecObject_var iFirst,
CATISpecObject_var iSecond)=0
Adds iSecond body to iFirst body.
Parameters:
iFirst
Current body.
iSecond
Body to be added to the iFirst body.
Returns:
The created boolean operation.
o CreateAdd
public virtual CATISpecObject_var CreateAdd(CATISpecObject_var iFirst,
CATISpecObject_var iSecond,
int iType)=0
Deprecated:
V5R14 use CATISpecObject_var CreateAdd (CATISpecObject_var iFirst, CATISpecObject_var iSecond) =0; or CATISpecObject_var CreateVolumicAdd (CATISpecObject_var iFirst, CATISpecObject_var iSecond) =0; depending of the type of boolean add you want to create
o CreateAssemble
public virtual CATISpecObject_var CreateAssemble(CATISpecObject_var iFirst,
CATISpecObject_var iSecond)=0
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.
Returns:
The created boolean operation.
o CreateIntersect
public virtual CATISpecObject_var CreateIntersect(CATISpecObject_var iFirst,
CATISpecObject_var iSecond)=0
Intersects iSecond body to iFirst body.
Parameters:
iFirst
Current body.
iSecond
Body to be intersected to the iFirst body.
Returns:
The created boolean operation.
o CreateIntersect
public virtual CATISpecObject_var CreateIntersect(CATISpecObject_var iFirst,
CATISpecObject_var iSecond,
int iType)=0
Deprecated:
V5R14 use CATISpecObject_var CreateIntersect (CATISpecObject_var iFirst, CATISpecObject_var iSecond) =0; or CATISpecObject_var CreateVolumicIntersect (CATISpecObject_var iFirst, CATISpecObject_var iSecond) =0; depending of the type of boolean intersect you want to create
o CreateRemove
public virtual CATISpecObject_var CreateRemove(CATISpecObject_var iFirst,
CATISpecObject_var iSecond)=0
Removes iSecond body to iFirst body.
Parameters:
iFirst
Current body.
iSecond
Body to be removed to the iFirst body.
Returns:
The created boolean operation.
o CreateRemove
public virtual CATISpecObject_var CreateRemove(CATISpecObject_var iFirst,
CATISpecObject_var iSecond,
int iType)=0
Deprecated:
V5R14 use CATISpecObject_var CreateRemove (CATISpecObject_var iFirst, CATISpecObject_var iSecond) =0; or CATISpecObject_var CreateVolumicRemove (CATISpecObject_var iFirst, CATISpecObject_var iSecond) =0; depending of the type of boolean remove you want to create
o CreateVolumicAdd
public virtual CATISpecObject_var CreateVolumicAdd(CATISpecObject_var iFirst,
CATISpecObject_var iSecond)=0
Adds iSecond volume to iFirst volume.
Parameters:
iFirst
Volume to be modified.
iSecond
Volume or body to be added to the iFirst volume.
Returns:
The created volumic boolean operation.
o CreateVolumicIntersect
public virtual CATISpecObject_var CreateVolumicIntersect(CATISpecObject_var iFirst,
CATISpecObject_var iSecond)=0
Intersects iSecond volume to iFirst volume.
Parameters:
iFirst
Volume to be modified.
iSecond
Volume or body to be intersected to the iFirst volume.
Returns:
The created volumic boolean operation.
o CreateVolumicRemove
public virtual CATISpecObject_var CreateVolumicRemove(CATISpecObject_var iFirst,
CATISpecObject_var iSecond)=0
Removes iSecond volume to iFirst volume.
Parameters:
iFirst
Volume to be modified.
iSecond
Volume or body to be removed to the iFirst volume.
Returns:
The created volumic boolean operation.

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

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