1 // Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License.
9 // This library is distributed in the hope that it will be useful
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // Lesser General Public License for more details.
14 // You should have received a copy of the GNU Lesser General Public
15 // License along with this library; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #ifndef _GEOM_IBasicOperations_i_HeaderFile
22 #define _GEOM_IBasicOperations_i_HeaderFile
24 #include "GEOMImpl_Gen.hxx"
26 #include <SALOMEconfig.h>
28 #include CORBA_SERVER_HEADER(GEOM_Gen)
29 #include "GEOM_IOperations_i.hh"
30 #include "GEOM_Object_i.hh"
32 #include "GEOMImpl_IBasicOperations.hxx"
34 class GEOM_I_EXPORT GEOM_IBasicOperations_i :
35 public virtual POA_GEOM::GEOM_IBasicOperations,
36 public virtual GEOM_IOperations_i
39 GEOM_IBasicOperations_i (PortableServer::POA_ptr thePOA,
40 GEOM::GEOM_Gen_ptr theEngine,
41 ::GEOMImpl_IBasicOperations* theImpl);
42 ~GEOM_IBasicOperations_i();
44 GEOM::GEOM_Object_ptr MakePointXYZ (CORBA::Double theX,
48 GEOM::GEOM_Object_ptr MakePointWithReference (GEOM::GEOM_Object_ptr theReference,
53 GEOM::GEOM_Object_ptr MakePointOnCurve (GEOM::GEOM_Object_ptr theCurve,
54 CORBA::Double theParameter);
56 GEOM::GEOM_Object_ptr MakePointOnSurface (GEOM::GEOM_Object_ptr theSurface,
57 CORBA::Double theUParameter,
58 CORBA::Double theVParameter);
60 GEOM::GEOM_Object_ptr MakePointOnLinesIntersection (GEOM::GEOM_Object_ptr theLine1,
61 GEOM::GEOM_Object_ptr theLine2);
63 GEOM::GEOM_Object_ptr MakeTangentOnCurve (GEOM::GEOM_Object_ptr theRefCurve,
64 CORBA::Double theParameter);
66 GEOM::GEOM_Object_ptr MakeVectorDXDYDZ (CORBA::Double theDX,
70 GEOM::GEOM_Object_ptr MakeVectorTwoPnt (GEOM::GEOM_Object_ptr thePnt1,
71 GEOM::GEOM_Object_ptr thePnt2);
73 GEOM::GEOM_Object_ptr MakeLine (GEOM::GEOM_Object_ptr thePnt,
74 GEOM::GEOM_Object_ptr theDir);
76 GEOM::GEOM_Object_ptr MakeLineTwoPnt (GEOM::GEOM_Object_ptr thePnt1,
77 GEOM::GEOM_Object_ptr thePnt2);
79 GEOM::GEOM_Object_ptr MakeLineTwoFaces (GEOM::GEOM_Object_ptr theFace1,
80 GEOM::GEOM_Object_ptr theFace2);
82 GEOM::GEOM_Object_ptr MakePlaneThreePnt (GEOM::GEOM_Object_ptr thePnt1,
83 GEOM::GEOM_Object_ptr thePnt2,
84 GEOM::GEOM_Object_ptr thePnt3,
85 CORBA::Double theTrimSize);
87 GEOM::GEOM_Object_ptr MakePlanePntVec (GEOM::GEOM_Object_ptr thePnt,
88 GEOM::GEOM_Object_ptr theVec,
89 CORBA::Double theTrimSize);
91 GEOM::GEOM_Object_ptr MakePlaneFace (GEOM::GEOM_Object_ptr theFace,
92 CORBA::Double theTrimSize);
94 GEOM::GEOM_Object_ptr MakeMarker (CORBA::Double theOX , CORBA::Double theOY , CORBA::Double theOZ,
95 CORBA::Double theXDX, CORBA::Double theXDY, CORBA::Double theXDZ,
96 CORBA::Double theYDX, CORBA::Double theYDY, CORBA::Double theYDZ);
98 GEOM::GEOM_Object_ptr MakeTangentPlaneOnFace (GEOM::GEOM_Object_ptr theFace,
99 CORBA::Double theParameterU,
100 CORBA::Double theParameterV,
101 CORBA::Double theTrimSize);
103 ::GEOMImpl_IBasicOperations* GetOperations() { return (::GEOMImpl_IBasicOperations*)GetImpl(); }