Salome HOME
Pipe validator fix
[modules/shaper.git] / src / GeomData / GeomData_Point.h
index 71c663e90e26a84b59171a346ae08531c261e359..3c08a706f641db6cbb10fd95d3eb8e0e7fe266f2 100644 (file)
@@ -12,7 +12,7 @@
 
 #include <TDF_Label.hxx>
 
-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<ModelAPI_Expression> myExpression[NUM_COMPONENTS]; ///< Expressions for X, Y and Z 
+  std::shared_ptr<ModelAPI_ExpressionDouble> 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;
 };