Salome HOME
Mantis issues 0020573 and 0020603: Partition problems. A fix by Peter KURNEV.
[modules/geom.git] / src / GEOM_I / GEOM_ILocalOperations_i.hh
1 //  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 //  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 //  This library is free software; you can redistribute it and/or
7 //  modify it under the terms of the GNU Lesser General Public
8 //  License as published by the Free Software Foundation; either
9 //  version 2.1 of the License.
10 //
11 //  This library is distributed in the hope that it will be useful,
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 //  Lesser General Public License for more details.
15 //
16 //  You should have received a copy of the GNU Lesser General Public
17 //  License along with this library; if not, write to the Free Software
18 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 //
20 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 #ifndef _GEOM_ILocalOperations_i_HeaderFile
23 #define _GEOM_ILocalOperations_i_HeaderFile
24
25 #include "GEOMImpl_Gen.hxx"
26
27 #include <SALOMEconfig.h>
28
29 #include CORBA_SERVER_HEADER(GEOM_Gen)
30 #include "GEOM_IOperations_i.hh"
31 #include "GEOM_Object_i.hh"
32
33 #include "GEOMImpl_ILocalOperations.hxx"
34
35 class GEOM_I_EXPORT GEOM_ILocalOperations_i : 
36     public virtual POA_GEOM::GEOM_ILocalOperations,
37     public virtual GEOM_IOperations_i
38 {
39  public:
40   GEOM_ILocalOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
41                            ::GEOMImpl_ILocalOperations* theImpl);
42   ~GEOM_ILocalOperations_i();
43
44   GEOM::GEOM_Object_ptr MakeFilletAll   (GEOM::GEOM_Object_ptr theShape,
45                                          CORBA::Double theR);
46
47   GEOM::GEOM_Object_ptr MakeFilletEdges (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR,
48                                          const GEOM::ListOfLong& theEdges);
49
50   GEOM::GEOM_Object_ptr MakeFilletEdgesR1R2 (GEOM::GEOM_Object_ptr theShape,
51                                              CORBA::Double theR1,
52                                              CORBA::Double theR2,
53                                              const GEOM::ListOfLong& theEdges);
54
55   GEOM::GEOM_Object_ptr MakeFilletFaces (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR,
56                                          const GEOM::ListOfLong& theFaces);
57
58   GEOM::GEOM_Object_ptr MakeFilletFacesR1R2 (GEOM::GEOM_Object_ptr theShape,
59                                              CORBA::Double theR1,
60                                              CORBA::Double theR2,
61                                              const GEOM::ListOfLong& theFaces);
62                                              
63   GEOM::GEOM_Object_ptr MakeFillet2D (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR,
64                                       const GEOM::ListOfLong& theVertexes);
65
66   GEOM::GEOM_Object_ptr MakeFillet1D (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR,
67                                       const GEOM::ListOfLong& theVertexes);
68
69   GEOM::GEOM_Object_ptr MakeChamferAll   (GEOM::GEOM_Object_ptr theShape, CORBA::Double theD);
70
71   GEOM::GEOM_Object_ptr MakeChamferEdge  (GEOM::GEOM_Object_ptr theShape,
72                                           CORBA::Double theD1, CORBA::Double theD2,
73                                           CORBA::Long theFace1, CORBA::Long theFace2);
74
75   GEOM::GEOM_Object_ptr MakeChamferEdgeAD  (GEOM::GEOM_Object_ptr theShape,
76                                             CORBA::Double theD, CORBA::Double theAngle,
77                                             CORBA::Long theFace1, CORBA::Long theFace2);
78
79   GEOM::GEOM_Object_ptr MakeChamferFaces (GEOM::GEOM_Object_ptr theShape,
80                                           CORBA::Double theD1, CORBA::Double theD2,
81                                           const GEOM::ListOfLong& theFaces);
82
83   GEOM::GEOM_Object_ptr MakeChamferFacesAD (GEOM::GEOM_Object_ptr theShape,
84                                             CORBA::Double theD, CORBA::Double theAngle,
85                                             const GEOM::ListOfLong& theFaces);
86
87   GEOM::GEOM_Object_ptr MakeChamferEdges (GEOM::GEOM_Object_ptr theShape,
88                                           CORBA::Double theD1, CORBA::Double theD2,
89                                           const GEOM::ListOfLong& theEdges);
90
91   GEOM::GEOM_Object_ptr MakeChamferEdgesAD (GEOM::GEOM_Object_ptr theShape,
92                                             CORBA::Double theD, CORBA::Double theAngle,
93                                             const GEOM::ListOfLong& theEdges);
94
95   GEOM::GEOM_Object_ptr MakeArchimede (GEOM::GEOM_Object_ptr theShape,
96                                        CORBA::Double theWeight,
97                                        CORBA::Double theWaterDensity,
98                                        CORBA::Double theMeshingDeflection);
99
100   CORBA::Long GetSubShapeIndex (GEOM::GEOM_Object_ptr theShape,
101                                 GEOM::GEOM_Object_ptr theSubShape);
102
103   ::GEOMImpl_ILocalOperations* GetOperations()
104   { return (::GEOMImpl_ILocalOperations*)GetImpl(); }
105 };
106
107 #endif