1 // Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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, or (at your option) any later version.
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.
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
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 #ifndef _GEOM_ILocalOperations_i_HeaderFile
24 #define _GEOM_ILocalOperations_i_HeaderFile
26 #include "GEOMImpl_Gen.hxx"
28 #include <SALOMEconfig.h>
30 #include CORBA_SERVER_HEADER(GEOM_Gen)
31 #include "GEOM_IOperations_i.hh"
32 #include "GEOM_Object_i.hh"
34 #include "GEOMImpl_ILocalOperations.hxx"
36 class GEOM_I_EXPORT GEOM_ILocalOperations_i :
37 public virtual POA_GEOM::GEOM_ILocalOperations,
38 public virtual GEOM_IOperations_i
41 GEOM_ILocalOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
42 ::GEOMImpl_ILocalOperations* theImpl);
43 ~GEOM_ILocalOperations_i();
45 GEOM::GEOM_Object_ptr MakeFilletAll (GEOM::GEOM_Object_ptr theShape,
48 GEOM::GEOM_Object_ptr MakeFilletEdges (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR,
49 const GEOM::ListOfLong& theEdges);
51 GEOM::GEOM_Object_ptr MakeFilletEdgesR1R2 (GEOM::GEOM_Object_ptr theShape,
54 const GEOM::ListOfLong& theEdges);
56 GEOM::GEOM_Object_ptr MakeFilletFaces (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR,
57 const GEOM::ListOfLong& theFaces);
59 GEOM::GEOM_Object_ptr MakeFilletFacesR1R2 (GEOM::GEOM_Object_ptr theShape,
62 const GEOM::ListOfLong& theFaces);
64 GEOM::GEOM_Object_ptr MakeFillet2D (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR,
65 const GEOM::ListOfLong& theVertexes);
67 GEOM::GEOM_Object_ptr MakeFillet1D (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR,
68 const GEOM::ListOfLong& theVertexes,
69 CORBA::Boolean doIgnoreSecantVertices);
71 GEOM::GEOM_Object_ptr MakeChamferAll (GEOM::GEOM_Object_ptr theShape, CORBA::Double theD);
73 GEOM::GEOM_Object_ptr MakeChamferEdge (GEOM::GEOM_Object_ptr theShape,
74 CORBA::Double theD1, CORBA::Double theD2,
75 CORBA::Long theFace1, CORBA::Long theFace2);
77 GEOM::GEOM_Object_ptr MakeChamferEdgeAD (GEOM::GEOM_Object_ptr theShape,
78 CORBA::Double theD, CORBA::Double theAngle,
79 CORBA::Long theFace1, CORBA::Long theFace2);
81 GEOM::GEOM_Object_ptr MakeChamferFaces (GEOM::GEOM_Object_ptr theShape,
82 CORBA::Double theD1, CORBA::Double theD2,
83 const GEOM::ListOfLong& theFaces);
85 GEOM::GEOM_Object_ptr MakeChamferFacesAD (GEOM::GEOM_Object_ptr theShape,
86 CORBA::Double theD, CORBA::Double theAngle,
87 const GEOM::ListOfLong& theFaces);
89 GEOM::GEOM_Object_ptr MakeChamferEdges (GEOM::GEOM_Object_ptr theShape,
90 CORBA::Double theD1, CORBA::Double theD2,
91 const GEOM::ListOfLong& theEdges);
93 GEOM::GEOM_Object_ptr MakeChamferEdgesAD (GEOM::GEOM_Object_ptr theShape,
94 CORBA::Double theD, CORBA::Double theAngle,
95 const GEOM::ListOfLong& theEdges);
97 GEOM::GEOM_Object_ptr MakeArchimede (GEOM::GEOM_Object_ptr theShape,
98 CORBA::Double theWeight,
99 CORBA::Double theWaterDensity,
100 CORBA::Double theMeshingDeflection);
102 CORBA::Long GetSubShapeIndex (GEOM::GEOM_Object_ptr theShape,
103 GEOM::GEOM_Object_ptr theSubShape);
105 ::GEOMImpl_ILocalOperations* GetOperations()
106 { return (::GEOMImpl_ILocalOperations*)GetImpl(); }