Salome HOME
Issue #2024: Redesign of circle and arc of circle
[modules/shaper.git] / src / GeomData / GeomData_Point2D.cpp
index 30b47115db5de6be77771f18910dac0cb8c6b8c6..ced572f4eb014f1cb9742b009fa7b4b47587e812 100644 (file)
@@ -29,6 +29,14 @@ void GeomData_Point2D::reinit()
   }
 }
 
+void GeomData_Point2D::reset()
+{
+  myIsInitialized = false;
+  for(int aComponent = 0; aComponent < NUM_COMPONENTS; ++aComponent) {
+    myExpression[aComponent]->reset();
+  }
+}
+
 void GeomData_Point2D::setCalculatedValue(const double theX, const double theY)
 {
   if (!myIsInitialized || x() != theX || y() != theY) {