GEOM.GEOM_ILocalOperations Interface Reference

import "GEOM_Gen.idl";

Inheritance diagram for GEOM.GEOM_ILocalOperations:

Inheritance graph

Public Member Functions

GEOM_Object MakeFilletAll (in GEOM_Object theShape, in double theR)
GEOM_Object MakeFilletEdges (in GEOM_Object theShape, in double theR, in ListOfLong theEdges)
GEOM_Object MakeFilletFaces (in GEOM_Object theShape, in double theR, in ListOfLong theFaces)
GEOM_Object MakeChamferAll (in GEOM_Object theShape, in double theD)
GEOM_Object MakeChamferEdge (in GEOM_Object theShape, in double theD1, in double theD2, in long theFace1, in long theFace2)
GEOM_Object MakeChamferFaces (in GEOM_Object theShape, in double theD1, in double theD2, in ListOfLong theFaces)
GEOM_Object MakeArchimede (in GEOM_Object theShape, in double theWeight, in double theWaterDensity, in double theMeshDeflection)
long GetSubShapeIndex (in GEOM_Object theShape, in GEOM_Object theSubShape)
boolean IsDone ()
void SetErrorCode (in string theErrorID)
string GetErrorCode ()
long GetStudyID ()
void StartOperation ()
void FinishOperation ()
void AbortOperation ()

Detailed Description

GEOM_ILocalOperations: Interface for fillet and chamfer creation.


Member Function Documentation

GEOM_Object GEOM.GEOM_ILocalOperations.MakeFilletAll in GEOM_Object  theShape,
in double  theR
 

Perform a fillet on all edges of the given shape.

Parameters:
theShape Shape, to perform fillet on.
theR Fillet radius.
Returns:
New GEOM_Object, containing the result shape.

GEOM_Object GEOM.GEOM_ILocalOperations.MakeFilletEdges in GEOM_Object  theShape,
in double  theR,
in ListOfLong  theEdges
 

Perform a fillet on the specified edges of the given shape

Parameters:
theShape Shape, to perform fillet on.
theR Fillet radius.
theEdges Global indices of edges to perform fillet on.
Note:
Global index of sub-shape can be obtained, using method GetSubShapeIndex().
Returns:
New GEOM_Object, containing the result shape.

GEOM_Object GEOM.GEOM_ILocalOperations.MakeFilletFaces in GEOM_Object  theShape,
in double  theR,
in ListOfLong  theFaces
 

Perform a fillet on all edges of the specified faces of the given shape.

Parameters:
theShape Shape, to perform fillet on.
theR Fillet radius.
theFaces Global indices of faces to perform fillet on.
Note:
Global index of sub-shape can be obtained, using method GetSubShapeIndex().
Returns:
New GEOM_Object, containing the result shape.

GEOM_Object GEOM.GEOM_ILocalOperations.MakeChamferAll in GEOM_Object  theShape,
in double  theD
 

Perform a symmetric chamfer on all edges of the given shape.

Parameters:
theShape Shape, to perform chamfer on.
theD Chamfer size along each face.
Returns:
New GEOM_Object, containing the result shape.

GEOM_Object GEOM.GEOM_ILocalOperations.MakeChamferEdge in GEOM_Object  theShape,
in double  theD1,
in double  theD2,
in long  theFace1,
in long  theFace2
 

Perform a chamfer on edges, common to the specified faces. with distance D1 on the Face1

Parameters:
theShape Shape, to perform chamfer on.
theD1 Chamfer size along theFace1.
theD2 Chamfer size along theFace2.
theFace1,theFace2 Global indices of two faces of theShape.
Note:
Global index of sub-shape can be obtained, using method GetSubShapeIndex().
Returns:
New GEOM_Object, containing the result shape.

GEOM_Object GEOM.GEOM_ILocalOperations.MakeChamferFaces in GEOM_Object  theShape,
in double  theD1,
in double  theD2,
in ListOfLong  theFaces
 

Perform a chamfer on all edges of the specified faces. with distance D1 on the first specified face (if several for one edge)

Parameters:
theShape Shape, to perform chamfer on.
theD1 Chamfer size along face from theFaces. If both faces, connected to the edge, are in theFaces, theD1 will be get along face, which is nearer to theFaces beginning.
theD2 Chamfer size along another of two faces, connected to the edge.
theFaces Sequence of global indices of faces of theShape.
Note:
Global index of sub-shape can be obtained, using method GetSubShapeIndex().
Returns:
New GEOM_Object, containing the result shape.

GEOM_Object GEOM.GEOM_ILocalOperations.MakeArchimede in GEOM_Object  theShape,
in double  theWeight,
in double  theWaterDensity,
in double  theMeshDeflection
 

Perform an Archimde operation on the given shape with given parameters. The object presenting the resulting face is returned

Parameters:
theShape Shape to be put in water.
theWeight Weight og the shape.
theWaterDensity Density of the water.
theMeshDeflection Deflection od the mesh, using to compute the section.
Returns:
New GEOM_Object, containing a section of theShape by a plane, corresponding to water level.

long GEOM.GEOM_ILocalOperations.GetSubShapeIndex in GEOM_Object  theShape,
in GEOM_Object  theSubShape
 

Get global index of theSubShape in theShape.

Parameters:
theShape Main shape.
theSubShape Sub-shape of the main shape.
Returns:
global index of theSubShape in theShape.

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:53 2006 for SALOME - GEOM - v.2.2.8 by doxygen 1.3.7