GEOM.GEOM_IBooleanOperations Interface Reference

import "GEOM_Gen.idl";

Inheritance diagram for GEOM.GEOM_IBooleanOperations:

Inheritance graph

Public Member Functions

GEOM_Object MakeBoolean (in GEOM_Object theShape1, in GEOM_Object theShape2, in long theOperation)
GEOM_Object MakePartition (in ListOfGO theShapes, in ListOfGO theTools, in ListOfGO theKeepInside, in ListOfGO theRemoveInside, in short theLimit, in boolean theRemoveWebs, in ListOfLong theMaterials)
GEOM_Object MakeHalfPartition (in GEOM_Object theShape, in GEOM_Object thePlane)
boolean IsDone ()
void SetErrorCode (in string theErrorID)
string GetErrorCode ()
long GetStudyID ()
void StartOperation ()
void FinishOperation ()
void AbortOperation ()

Detailed Description

GEOM_IBooleanOperations: Interface for boolean operations (Cut, Fuse, Common)


Member Function Documentation

GEOM_Object GEOM.GEOM_IBooleanOperations.MakeBoolean in GEOM_Object  theShape1,
in GEOM_Object  theShape2,
in long  theOperation
 

Perform one of boolean operations on two given shapes.

Parameters:
theShape1 First argument for boolean operation.
theShape2 Second argument for boolean operation.
theOperation Indicates the operation to be done: 1 - Common, 2 - Cut, 3 - Fuse, 4 - Section.
Returns:
New GEOM_Object, containing the result shape.

GEOM_Object GEOM.GEOM_IBooleanOperations.MakePartition in ListOfGO  theShapes,
in ListOfGO  theTools,
in ListOfGO  theKeepInside,
in ListOfGO  theRemoveInside,
in short  theLimit,
in boolean  theRemoveWebs,
in ListOfLong  theMaterials
 

Perform partition operation.

Parameters:
theShapes Shapes to be intersected.
theTools Shapes to intersect theShapes.
theKeepInside Shapes, outside which the results will be deleted. Each shape from theKeepInside must belong to theShapes also.
theRemoveInside Shapes, inside which the results will be deleted. Each shape from theRemoveInside must belong to theShapes also.
theLimit Type of resulting shapes (corresponding to TopAbs_ShapeEnum).
theRemoveWebs If TRUE, perform Glue 3D algorithm.
theMaterials Material indices for each shape. Make sence, only if theRemoveWebs is TRUE.
Returns:
New GEOM_Object, containing the result shapes.

GEOM_Object GEOM.GEOM_IBooleanOperations.MakeHalfPartition in GEOM_Object  theShape,
in GEOM_Object  thePlane
 

Perform partition of the Shape with the Plane

Parameters:
theShape Shape to be intersected.
thePlane Tool shape, to intersect theShape.
Returns:
New GEOM_Object, containing the result shape.

boolean GEOM.GEOM_IOperations.IsDone  )  [inherited]
 

To know, if the operation was successfully performed

void GEOM.GEOM_IOperations.SetErrorCode in string  theErrorID  )  [inherited]
 

Set the operation error code

Parameters:
theErrorID is a string describing the error occured
Note:
This method is supposed to be used only by interfaces inheriting from IOperations.

string GEOM.GEOM_IOperations.GetErrorCode  )  [inherited]
 

Get the operation error code

long GEOM.GEOM_IOperations.GetStudyID  )  [inherited]
 

Get ID of study, where the operation is defined

void GEOM.GEOM_IOperations.StartOperation  )  [inherited]
 

Opens a new transaction

void GEOM.GEOM_IOperations.FinishOperation  )  [inherited]
 

Closes the previously opened trasaction

void GEOM.GEOM_IOperations.AbortOperation  )  [inherited]
 

Aborts the previously opened transaction


Generated on Wed Feb 8 00:23:42 2006 for SALOME - GEOM - v.2.2.8 by doxygen 1.3.7