Salome HOME
Merge with version on tag OCC-V2_1_0d
[modules/geom.git] / src / GEOM_I / GEOM_ILocalOperations_i.hh
1
2 #ifndef _GEOM_ILocalOperations_i_HeaderFile
3 #define _GEOM_ILocalOperations_i_HeaderFile
4
5
6 #include <SALOMEconfig.h>
7
8 #include CORBA_SERVER_HEADER(GEOM_Gen)
9 #include "GEOM_IOperations_i.hh"
10 #include "GEOM_Object_i.hh"
11
12 #include "GEOMImpl_ILocalOperations.hxx"
13
14 class GEOM_ILocalOperations_i : 
15     public virtual POA_GEOM::GEOM_ILocalOperations,
16     public virtual GEOM_IOperations_i
17 {
18  public:
19   GEOM_ILocalOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
20                            ::GEOMImpl_ILocalOperations* theImpl);
21   ~GEOM_ILocalOperations_i();
22
23   GEOM::GEOM_Object_ptr MakeFilletAll   (GEOM::GEOM_Object_ptr theShape,
24                                          CORBA::Double theR);
25   GEOM::GEOM_Object_ptr MakeFilletEdges (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR,
26                                          const GEOM::ListOfLong& theEdges);
27   GEOM::GEOM_Object_ptr MakeFilletFaces (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR,
28                                          const GEOM::ListOfLong& theFaces);
29
30   GEOM::GEOM_Object_ptr MakeChamferAll   (GEOM::GEOM_Object_ptr theShape, CORBA::Double theD);
31   GEOM::GEOM_Object_ptr MakeChamferEdge  (GEOM::GEOM_Object_ptr theShape,
32                                           CORBA::Double theD1, CORBA::Double theD2,
33                                           CORBA::Long theFace1, CORBA::Long theFace2);
34   GEOM::GEOM_Object_ptr MakeChamferFaces (GEOM::GEOM_Object_ptr theShape,
35                                           CORBA::Double theD1, CORBA::Double theD2,
36                                           const GEOM::ListOfLong& theFaces);
37
38   GEOM::GEOM_Object_ptr MakeArchimede (GEOM::GEOM_Object_ptr theShape,
39                                        CORBA::Double theWeight,
40                                        CORBA::Double theWaterDensity,
41                                        CORBA::Double theMeshingDeflection);
42
43   CORBA::Long GetSubShapeIndex (GEOM::GEOM_Object_ptr theShape,
44                                 GEOM::GEOM_Object_ptr theSubShape);
45
46   ::GEOMImpl_ILocalOperations* GetOperations()
47   { return (::GEOMImpl_ILocalOperations*)GetImpl(); }
48 };
49
50 #endif