X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomData%2FGeomData_Dir.h;h=debd400552702b68455955f17d775b3f6f97d8ae;hb=5c7800057bef826f4dfcd151a05b18ca5c69a08a;hp=b4dea091ac3574f3c34f8fbd7f9d1ca2143730ea;hpb=cd9217d7e87997ec8bc150a6d8c389e742ca0f84;p=modules%2Fshaper.git diff --git a/src/GeomData/GeomData_Dir.h b/src/GeomData/GeomData_Dir.h index b4dea091a..debd40055 100644 --- a/src/GeomData/GeomData_Dir.h +++ b/src/GeomData/GeomData_Dir.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: GeomData_Dir.h // Created: 24 Apr 2014 // Author: Mikhail PONIKAROV @@ -9,9 +11,10 @@ #include "GeomDataAPI_Dir.h" #include #include -#include +#include class GeomAPI_Dir; +class GeomAPI_XYZ; /**\class GeomData_Dir * \ingroup DataModel @@ -24,7 +27,7 @@ class GeomData_Dir : public GeomDataAPI_Dir /// Defines the double value GEOMDATA_EXPORT virtual void setValue(const double theX, const double theY, const double theZ); /// Defines the direction - GEOMDATA_EXPORT virtual void setValue(const boost::shared_ptr& theDir); + GEOMDATA_EXPORT virtual void setValue(const std::shared_ptr& theDir); /// Returns the X double value GEOMDATA_EXPORT virtual double x() const; @@ -33,7 +36,9 @@ class GeomData_Dir : public GeomDataAPI_Dir /// Returns the Z double value GEOMDATA_EXPORT virtual double z() const; /// Returns the direction of this attribute - GEOMDATA_EXPORT virtual boost::shared_ptr dir(); + GEOMDATA_EXPORT virtual std::shared_ptr dir(); + /// Returns the coordinates of this attribute + GEOMDATA_EXPORT virtual std::shared_ptr xyz(); protected: /// Initializes attributes