Salome HOME
29470 - Point cloud on a face
[modules/geom.git] / src / GEOMImpl / GEOMImpl_PolylineDumper.hxx
index a531c1e959a19a3cb331346c47e57f5406c7137c..af31dc6e9e858fe3f074a67e8fec95567bc6ca6b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -49,7 +49,7 @@ class GEOMIMPL_EXPORT GEOMImpl_PolylineDumper
 public:
 
   /**
-   * This construcor initializes the object with 2D polyline creation
+   * This constructor initializes the object with 2D polyline creation
    * parameters.
    *
    *  \param theCoords the list of coordinates list. theCoordsList[0]
@@ -65,13 +65,13 @@ public:
    */
   GEOMImpl_PolylineDumper
             (const std::list <std::list <double> >        &theCoords,
-             const Handle_TColStd_HArray1OfExtendedString &theNames,
-             const Handle_TColStd_HArray1OfByte           &theTypes,
-             const Handle_TColStd_HArray1OfByte           &theCloseds,
-             const Handle_TColStd_HArray1OfReal           &thePlnCoords);
+             const Handle(TColStd_HArray1OfExtendedString) &theNames,
+             const Handle(TColStd_HArray1OfByte)           &theTypes,
+             const Handle(TColStd_HArray1OfByte)           &theCloseds,
+             const Handle(TColStd_HArray1OfReal)           &thePlnCoords);
 
   /**
-   * This construcor initializes the object with 2D polyline creation
+   * This constructor initializes the object with 2D polyline creation
    * parameters.
    *
    *  \param theCoords the list of coordinates list. theCoordsList[0]
@@ -86,10 +86,10 @@ public:
    */
   GEOMImpl_PolylineDumper
             (const std::list <std::list <double> >        &theCoords,
-             const Handle_TColStd_HArray1OfExtendedString &theNames,
-             const Handle_TColStd_HArray1OfByte           &theTypes,
-             const Handle_TColStd_HArray1OfByte           &theCloseds,
-             const Handle_GEOM_Object                     &theWorkingPlane);
+             const Handle(TColStd_HArray1OfExtendedString) &theNames,
+             const Handle(TColStd_HArray1OfByte)           &theTypes,
+             const Handle(TColStd_HArray1OfByte)           &theCloseds,
+             const Handle(GEOM_Object)                     &theWorkingPlane);
 
   /**
    * This method returns Standard_True if the dump description is created
@@ -106,7 +106,7 @@ public:
    * \param theObject the newly created object.
    * \return Standard_True in case of success; Standard_False otherwise.
    */
-  Standard_Boolean Dump(const Handle_GEOM_Object &theObject);
+  Standard_Boolean Dump(const Handle(GEOM_Object) &theObject);
 
 protected:
 
@@ -119,11 +119,11 @@ protected:
 private:
 
   const std::list <std::list <double> >  &myCoords;
-  Handle_TColStd_HArray1OfExtendedString  myNames;
-  Handle_TColStd_HArray1OfByte            myTypes;
-  Handle_TColStd_HArray1OfByte            myCloseds;
-  Handle_TColStd_HArray1OfReal            myPlnCoords;
-  Handle_GEOM_Object                      myWorkingPlane;
+  Handle(TColStd_HArray1OfExtendedString)  myNames;
+  Handle(TColStd_HArray1OfByte)            myTypes;
+  Handle(TColStd_HArray1OfByte)            myCloseds;
+  Handle(TColStd_HArray1OfReal)            myPlnCoords;
+  Handle(GEOM_Object)                      myWorkingPlane;
   Standard_Boolean                        myIsDone;
   TCollection_ExtendedString              myDescr;