X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomData%2FGeomData_Dir.h;h=debd400552702b68455955f17d775b3f6f97d8ae;hb=530f5aff42069e844c4a4ef164088ea23ba0e2dd;hp=a11316a4be9a46731e2d99fc5acff7bd026b61c5;hpb=4783f146b71a48c651523fcf0e12367bcf3d1fa8;p=modules%2Fshaper.git diff --git a/src/GeomData/GeomData_Dir.h b/src/GeomData/GeomData_Dir.h index a11316a4b..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 @@ -12,6 +14,7 @@ #include class GeomAPI_Dir; +class GeomAPI_XYZ; /**\class GeomData_Dir * \ingroup DataModel @@ -34,6 +37,8 @@ class GeomData_Dir : public GeomDataAPI_Dir GEOMDATA_EXPORT virtual double z() const; /// Returns the direction of this attribute GEOMDATA_EXPORT virtual std::shared_ptr dir(); + /// Returns the coordinates of this attribute + GEOMDATA_EXPORT virtual std::shared_ptr xyz(); protected: /// Initializes attributes