Back to index

salome-geom  6.5.0
Public Member Functions
GEOM::GEOM_ILocalOperations Interface Reference

Interface for fillet and chamfer creation. More...

import "GEOM_Gen.idl";

Inheritance diagram for GEOM::GEOM_ILocalOperations:
Inheritance graph
[legend]
Collaboration diagram for GEOM::GEOM_ILocalOperations:
Collaboration graph
[legend]

List of all members.

Public Member Functions

GEOM_Object MakeFilletAll (in GEOM_Object theShape, in double theR)
 Perform a fillet on all edges of the given shape.
GEOM_Object MakeFilletEdges (in GEOM_Object theShape, in double theR, in ListOfLong theEdges)
 Perform a fillet on the specified edges of the given shape.
GEOM_Object MakeFilletEdgesR1R2 (in GEOM_Object theShape, in double theR1, in double theR2, in ListOfLong theEdges)
GEOM_Object 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.
GEOM_Object MakeFilletFacesR1R2 (in GEOM_Object theShape, in double theR1, in double theR2, in ListOfLong theFaces)
GEOM_Object MakeFillet2D (in GEOM_Object theShape, in double theR, in ListOfLong theVertexes)
 Perform a fillet on a face or a shell at the specified vertexes.
GEOM_Object MakeFillet1D (in GEOM_Object theShape, in double theR, in ListOfLong theVertexes)
 Perform a fillet on edges of the specified vertexes of the given wire.
GEOM_Object MakeChamferAll (in GEOM_Object theShape, in double theD)
 Perform a symmetric chamfer on all edges of the given shape.
GEOM_Object 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.
GEOM_Object MakeChamferEdgeAD (in GEOM_Object theShape, in double theD, in double theAngle, in long theFace1, in long theFace2)
 The Same but with params theD = Chamfer Lenght and theAngle = Chamfer Angle (Angle in radians)
GEOM_Object MakeChamferFaces (in GEOM_Object theShape, in double theD1, in double theD2, in ListOfLong theFaces)
 Perform a chamfer on all edges of the specified faces.
GEOM_Object MakeChamferFacesAD (in GEOM_Object theShape, in double theD, in double theAngle, in ListOfLong theFaces)
 The Same but with params theD = Chamfer Lenght and theAngle = Chamfer Angle (Angle in radians)
GEOM_Object MakeChamferEdges (in GEOM_Object theShape, in double theD1, in double theD2, in ListOfLong theEdges)
 Perform a chamfer on edges, with distance D1 on the first specified face (if several for one edge)
GEOM_Object MakeChamferEdgesAD (in GEOM_Object theShape, in double theD, in double theAngle, in ListOfLong theEdges)
 The Same but with params theD = Chamfer Lenght and theAngle = Chamfer Angle (Angle in radians)
GEOM_Object 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.
long GetSubShapeIndex (in GEOM_Object theShape, in GEOM_Object theSubShape)
 Duplicates GEOM_IShapesOperations.GetSubShapeIndex().
boolean IsDone ()
 To know, if the operation was successfully performed.
void SetErrorCode (in string theErrorID)
 Set the operation error code.
string GetErrorCode ()
 Get the operation error code.
long GetStudyID ()
 Get ID of study, where the operation is defined.
void StartOperation ()
 Opens a new transaction.
void FinishOperation ()
 Closes the previously opened trasaction.
void AbortOperation ()
 Aborts the previously opened transaction.

Detailed Description

Interface for fillet and chamfer creation.

Definition at line 2827 of file GEOM_Gen.idl.


Member Function Documentation

Aborts the previously opened transaction.

Closes the previously opened trasaction.

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.

long GEOM::GEOM_ILocalOperations::GetSubShapeIndex ( in GEOM_Object  theShape,
in GEOM_Object  theSubShape 
)

Duplicates GEOM_IShapesOperations.GetSubShapeIndex().

Present here only for compatibility.

boolean GEOM::GEOM_IOperations::IsDone ( ) [inherited]

To know, if the operation was successfully performed.

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:
theShapeShape to be put in water.
theWeightWeight og the shape.
theWaterDensityDensity of the water.
theMeshDeflectionDeflection od the mesh, using to compute the section.
Returns:
New GEOM_Object, containing a section of theShape by a plane, corresponding to water level.

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

Parameters:
theShapeShape, to perform chamfer on.
theDChamfer 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:
theShapeShape, to perform chamfer on.
theD1Chamfer size along theFace1.
theD2Chamfer size along theFace2.
theFace1,theFace2Global indices of two faces of theShape.
Note:
Global index of sub-shape can be obtained, using method GEOM_IShapesOperations.GetSubShapeIndex().
Returns:
New GEOM_Object, containing the result shape.

Here is the caller graph for this function:

GEOM_Object GEOM::GEOM_ILocalOperations::MakeChamferEdgeAD ( in GEOM_Object  theShape,
in double  theD,
in double  theAngle,
in long  theFace1,
in long  theFace2 
)

The Same but with params theD = Chamfer Lenght and theAngle = Chamfer Angle (Angle in radians)

GEOM_Object GEOM::GEOM_ILocalOperations::MakeChamferEdges ( in GEOM_Object  theShape,
in double  theD1,
in double  theD2,
in ListOfLong  theEdges 
)

Perform a chamfer on edges, with distance D1 on the first specified face (if several for one edge)

Parameters:
theShapeShape, to perform chamfer on.
theD1,theD2Chamfer size
theEdgesSequence of edges of theShape.
Returns:
New GEOM_Object, containing the result shape.
GEOM_Object GEOM::GEOM_ILocalOperations::MakeChamferEdgesAD ( in GEOM_Object  theShape,
in double  theD,
in double  theAngle,
in ListOfLong  theEdges 
)

The Same but with params theD = Chamfer Lenght and theAngle = Chamfer Angle (Angle in radians)

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:
theShapeShape, to perform chamfer on.
theD1Chamfer 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.
theD2Chamfer size along another of two faces, connected to the edge.
theFacesSequence of global indices of faces of theShape.
Note:
Global index of sub-shape can be obtained, using method GEOM_IShapesOperations.GetSubShapeIndex().
Returns:
New GEOM_Object, containing the result shape.

Here is the caller graph for this function:

GEOM_Object GEOM::GEOM_ILocalOperations::MakeChamferFacesAD ( in GEOM_Object  theShape,
in double  theD,
in double  theAngle,
in ListOfLong  theFaces 
)

The Same but with params theD = Chamfer Lenght and theAngle = Chamfer Angle (Angle in radians)

GEOM_Object GEOM::GEOM_ILocalOperations::MakeFillet1D ( in GEOM_Object  theShape,
in double  theR,
in ListOfLong  theVertexes 
)

Perform a fillet on edges of the specified vertexes of the given wire.

Parameters:
theShapeShape, to perform fillet on.
theRFillet radius.
theVertexesGlobal indices of vertexes to perform fillet on.
Note:
Global index of sub-shape can be obtained, using method GEOM_IShapesOperations.GetSubShapeIndex().
The list of vertices coudl be empty, in this case fillet fill be done at all vertices in given wire
Returns:
New GEOM_Object, containing the result shape.
GEOM_Object GEOM::GEOM_ILocalOperations::MakeFillet2D ( in GEOM_Object  theShape,
in double  theR,
in ListOfLong  theVertexes 
)

Perform a fillet on a face or a shell at the specified vertexes.

Parameters:
theShapeShape, to perform fillet on.
theRFillet radius.
theVertexesGlobal indices of vertexes to perform fillet on.
Note:
Global index of sub-shape can be obtained, using method GEOM_IShapesOperations.GetSubShapeIndex().
Returns:
New GEOM_Object, containing the result shape.

Perform a fillet on all edges of the given shape.

Parameters:
theShapeShape, to perform fillet on.
theRFillet 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:
theShapeShape, to perform fillet on.
theRFillet radius.
theEdgesGlobal indices of edges to perform fillet on.
Note:
Global index of sub-shape can be obtained, using method GEOM_IShapesOperations.GetSubShapeIndex().
Returns:
New GEOM_Object, containing the result shape.
GEOM_Object GEOM::GEOM_ILocalOperations::MakeFilletEdgesR1R2 ( in GEOM_Object  theShape,
in double  theR1,
in double  theR2,
in ListOfLong  theEdges 
)
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:
theShapeShape, to perform fillet on.
theRFillet radius.
theFacesGlobal indices of faces to perform fillet on.
Note:
Global index of sub-shape can be obtained, using method GEOM_IShapesOperations.GetSubShapeIndex().
Returns:
New GEOM_Object, containing the result shape.
GEOM_Object GEOM::GEOM_ILocalOperations::MakeFilletFacesR1R2 ( in GEOM_Object  theShape,
in double  theR1,
in double  theR2,
in ListOfLong  theFaces 
)
void GEOM::GEOM_IOperations::SetErrorCode ( in string  theErrorID) [inherited]

Set the operation error code.

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

Opens a new transaction.


The documentation for this interface was generated from the following file: