X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomData%2FGeomData_Point.h;h=3c08a706f641db6cbb10fd95d3eb8e0e7fe266f2;hb=fb54db5e1466b16dfc029c4a7364a67a9a6a8c24;hp=71c663e90e26a84b59171a346ae08531c261e359;hpb=f8c36784f4699f0e3d04f4e8e067c7bd317b4a1c;p=modules%2Fshaper.git diff --git a/src/GeomData/GeomData_Point.h b/src/GeomData/GeomData_Point.h index 71c663e90..3c08a706f 100644 --- a/src/GeomData/GeomData_Point.h +++ b/src/GeomData/GeomData_Point.h @@ -12,7 +12,7 @@ #include -class ModelAPI_Expression; +class ModelAPI_ExpressionDouble; /**\class GeomData_Point * \ingroup DataModel @@ -21,7 +21,7 @@ class ModelAPI_Expression; class GeomData_Point : public GeomDataAPI_Point { enum { NUM_COMPONENTS = 3 }; - std::shared_ptr myExpression[NUM_COMPONENTS]; ///< Expressions for X, Y and Z + std::shared_ptr myExpression[NUM_COMPONENTS]; ///< Expressions for X, Y and Z public: /// Defines the double value GEOMDATA_EXPORT virtual void setValue(const double theX, const double theY, const double theZ); @@ -73,7 +73,7 @@ class GeomData_Point : public GeomDataAPI_Point protected: /// Initializes attributes - GEOMDATA_EXPORT GeomData_Point(TDF_Label& theLabel); + GEOMDATA_EXPORT GeomData_Point(); friend class Model_Data; };