2 #ifndef _GEOMImpl_ILocalOperations_HXX_
3 #define _GEOMImpl_ILocalOperations_HXX_
5 #include "Utils_SALOME_Exception.hxx"
6 #include "GEOM_IOperations.hxx"
7 #include "GEOM_Engine.hxx"
8 #include "GEOM_Object.hxx"
9 #include <TDocStd_Document.hxx>
13 class GEOMImpl_ILocalOperations : public GEOM_IOperations {
15 Standard_EXPORT GEOMImpl_ILocalOperations(GEOM_Engine* theEngine, int theDocID);
16 Standard_EXPORT ~GEOMImpl_ILocalOperations();
18 Standard_EXPORT Handle(GEOM_Object) MakeFilletAll (Handle(GEOM_Object) theShape, double theR);
19 Standard_EXPORT Handle(GEOM_Object) MakeFilletEdges (Handle(GEOM_Object) theShape, double theR,
21 Standard_EXPORT Handle(GEOM_Object) MakeFilletFaces (Handle(GEOM_Object) theShape, double theR,
24 Standard_EXPORT Handle(GEOM_Object) MakeChamferAll (Handle(GEOM_Object) theShape, double theD);
25 Standard_EXPORT Handle(GEOM_Object) MakeChamferEdge (Handle(GEOM_Object) theShape,
26 double theD1, double theD2,
27 int theFace1, int theFace2);
28 Standard_EXPORT Handle(GEOM_Object) MakeChamferFaces (Handle(GEOM_Object) theShape,
29 double theD1, double theD2,
32 Standard_EXPORT Handle(GEOM_Object) MakeArchimede (Handle(GEOM_Object) theShape,
33 double theWeight, double theWaterDensity,
34 double theMeshingDeflection);
36 Standard_EXPORT Standard_Integer GetSubShapeIndex (Handle(GEOM_Object) theShape,
37 Handle(GEOM_Object) theSubShape);
39 Standard_EXPORT static bool GetSubShape (const TopoDS_Shape& theShape,
41 TopoDS_Shape& theSubShape);