+
+std::string GeomData_Point2D::textX()
+{
+ return myExpression[0]->text();
+}
+std::string GeomData_Point2D::textY()
+{
+ return myExpression[1]->text();
+}
+
+void GeomData_Point2D::setExpressionInvalid(int theComponent, bool theFlag)
+{
+ assert(theComponent >= 0 && theComponent < NUM_COMPONENTS);
+ if (!myIsInitialized || expressionInvalid(theComponent) != theFlag)
+ myExpression[theComponent]->setInvalid(theFlag);
+}
+
+bool GeomData_Point2D::expressionInvalid(int theComponent)
+{
+ assert(theComponent >= 0 && theComponent < NUM_COMPONENTS);
+ return myExpression[theComponent]->isInvalid();
+}
+
+void GeomData_Point2D::setExpressionError(int theComponent, const std::string& theError)
+{
+ assert(theComponent >= 0 && theComponent < NUM_COMPONENTS);
+ if (expressionError(theComponent) != theError)
+ myExpression[theComponent]->setError(theError);
+}
+
+std::string GeomData_Point2D::expressionError(int theComponent)
+{
+ assert(theComponent >= 0 && theComponent < NUM_COMPONENTS);
+ return myExpression[theComponent]->error();
+}
+
+void GeomData_Point2D::setUsedParameters(int theComponent, const std::set<std::string>& theUsedParameters)
+{
+ assert(theComponent >= 0 && theComponent < NUM_COMPONENTS);
+ myExpression[theComponent]->setUsedParameters(theUsedParameters);
+}
+
+std::set<std::string> GeomData_Point2D::usedParameters(int theComponent) const
+{
+ assert(theComponent >= 0 && theComponent < NUM_COMPONENTS);
+ return myExpression[theComponent]->usedParameters();
+}