Salome HOME
PAL12608: Add possibility to check geometry of a shape.
[modules/geom.git] / src / GEOMImpl / GEOMImpl_ICurvesOperations.hxx
index df281573bb96f5f09edc830281f3c72dda465349..0d6dbe97cdccebbd0684da56ffe24209505aea15 100644 (file)
@@ -1,10 +1,31 @@
-using namespace std; 
+// Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+using namespace std;
 
 #ifndef _GEOMImpl_ICurvesOperations_HXX_
 #define _GEOMImpl_ICurvesOperations_HXX_
 
 #include "GEOM_IOperations.hxx"
 
+#include <TCollection_AsciiString.hxx>
+
 #include <list>
 
 class GEOM_Engine;
@@ -18,25 +39,26 @@ class GEOMImpl_ICurvesOperations : public GEOM_IOperations {
   Standard_EXPORT Handle(GEOM_Object) MakePolyline (list<Handle(GEOM_Object)> thePoints);
 
   Standard_EXPORT Handle(GEOM_Object) MakeCircleThreePnt (Handle(GEOM_Object) thePnt1,
-                                          Handle(GEOM_Object) thePnt2,
-                                          Handle(GEOM_Object) thePnt3);
+                                                          Handle(GEOM_Object) thePnt2,
+                                                          Handle(GEOM_Object) thePnt3);
   Standard_EXPORT Handle(GEOM_Object) MakeCirclePntVecR  (Handle(GEOM_Object) thePnt,
-                                          Handle(GEOM_Object) theVec, double theR);
+                                                          Handle(GEOM_Object) theVec, double theR);
 
   Standard_EXPORT Handle(GEOM_Object) MakeEllipse (Handle(GEOM_Object) thePnt,
-                                   Handle(GEOM_Object) theVec,
-                                   double theRMajor, double theRMinor);
+                                                   Handle(GEOM_Object) theVec,
+                                                   double theRMajor, double theRMinor);
 
   Standard_EXPORT Handle(GEOM_Object) MakeArc (Handle(GEOM_Object) thePnt1,
-                               Handle(GEOM_Object) thePnt2,
-                               Handle(GEOM_Object) thePnt3);
+                                               Handle(GEOM_Object) thePnt2,
+                                               Handle(GEOM_Object) thePnt3);
 
   Standard_EXPORT Handle(GEOM_Object) MakeSplineBezier        (list<Handle(GEOM_Object)> thePoints);
   Standard_EXPORT Handle(GEOM_Object) MakeSplineInterpolation (list<Handle(GEOM_Object)> thePoints);
 
-  Standard_EXPORT Handle(GEOM_Object) MakeSketcher (const char* theCommand, list<double> theWorkingPlane);
-  Standard_EXPORT Handle(GEOM_Object) MakeSketcherOnPlane (const char*         theCommand,
-                                           Handle(GEOM_Object) theWorkingPlane);
+  Standard_EXPORT Handle(GEOM_Object) MakeSketcher (const TCollection_AsciiString& theCommand,
+                                                    list<double> theWorkingPlane);
+  Standard_EXPORT Handle(GEOM_Object) MakeSketcherOnPlane (const TCollection_AsciiString& theCommand,
+                                                           Handle(GEOM_Object) theWorkingPlane);
 };
 
 #endif