X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomData%2FGeomData_Point2D.h;h=8363f99670fdb47bdd70b829dfd690b277785f7c;hb=8d8878b385494638fbe5fad10bbcdee9c9d04f30;hp=0041f5cfe0656e118e8df8fb73857b8289995cb6;hpb=96ff1d1fb2acb842cee193f15492de81060a1d58;p=modules%2Fshaper.git diff --git a/src/GeomData/GeomData_Point2D.h b/src/GeomData/GeomData_Point2D.h index 0041f5cfe..8363f9967 100644 --- a/src/GeomData/GeomData_Point2D.h +++ b/src/GeomData/GeomData_Point2D.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: GeomData_Point2D.h // Created: 24 Apr 2014 // Author: Mikhail PONIKAROV @@ -17,21 +19,21 @@ class GeomData_Point2D : public GeomDataAPI_Point2D { - Handle_TDataStd_RealArray myCoords; ///< X and Y doubles as real array attribute [0; 1] -public: + Handle_TDataStd_RealArray myCoords; ///< X and Y doubles as real array attribute [0; 1] + public: /// Defines the double value GEOMDATA_EXPORT virtual void setValue(const double theX, const double theY); /// Defines the point - GEOMDATA_EXPORT virtual void setValue(const boost::shared_ptr& thePoint); + GEOMDATA_EXPORT virtual void setValue(const std::shared_ptr& thePoint); /// Returns the X double value GEOMDATA_EXPORT virtual double x() const; /// Returns the Y double value GEOMDATA_EXPORT virtual double y() const; /// Returns the 2D point - GEOMDATA_EXPORT virtual boost::shared_ptr pnt(); + GEOMDATA_EXPORT virtual std::shared_ptr pnt(); -protected: + protected: /// Initializes attributes GEOMDATA_EXPORT GeomData_Point2D(TDF_Label& theLabel);