Version: 6.3.1
Public Member Functions

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 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)
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)
GEOM_Object MakeFillet1D (in GEOM_Object theShape, in double theR, in ListOfLong theVertexes)
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 MakeChamferEdgeAD (in GEOM_Object theShape, in double theD, in double theAngle, in long theFace1, in long theFace2)
GEOM_Object MakeChamferFaces (in GEOM_Object theShape, in double theD1, in double theD2, in ListOfLong theFaces)
GEOM_Object MakeChamferFacesAD (in GEOM_Object theShape, in double theD, in double theAngle, in ListOfLong theFaces)
GEOM_Object MakeChamferEdges (in GEOM_Object theShape, in double theD1, in double theD2, in ListOfLong theEdges)
GEOM_Object MakeChamferEdgesAD (in GEOM_Object theShape, in double theD, in double theAngle, in ListOfLong theEdges)
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:
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 
)
GEOM_Object GEOM.GEOM_ILocalOperations.MakeFillet2D ( in GEOM_Object  theShape,
in double  theR,
in ListOfLong  theVertexes 
)

Perform a fillet on face of the specified vertexes of the given shape.

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.
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.MakeChamferAll ( in GEOM_Object  theShape,
in double  theD 
)

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.
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.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.
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.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.
theD1theD2 Chamfer 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.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.
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

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.
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

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS