Salome HOME
Changes for modifying of GeomData objects by GeomAPI objects
[modules/shaper.git] / src / GeomData / GeomData_Point.cpp
index 6ad2ac56479b99942b5c4c2ac55be0947aedb3a9..da6299703174b694c2d95b179b905a738c2dfc23 100644 (file)
@@ -21,6 +21,11 @@ void GeomData_Point::setValue(const double theX, const double theY, const double
   }
 }
 
+void GeomData_Point::setValue(const boost::shared_ptr<GeomAPI_Pnt>& thePoint)
+{
+  setValue(thePoint->x(), thePoint->y(), thePoint->z());
+}
+
 double GeomData_Point::x() const
 {
   return myCoords->Value(0);