+boost::shared_ptr<GeomAPI_Pnt> GeomAPI_Pnt2d::to3D(const boost::shared_ptr<GeomAPI_Pnt>& theOrigin,
+ const boost::shared_ptr<GeomAPI_Dir>& theDirX,
+ const boost::shared_ptr<GeomAPI_Dir>& theDirY)
+{
+ boost::shared_ptr<GeomAPI_XYZ> aSum = theOrigin->xyz()->added(
+ theDirX->xyz()->multiplied(x()))->added(theDirY->xyz()->multiplied(y()));
+
+ return boost::shared_ptr<GeomAPI_Pnt>(new GeomAPI_Pnt(aSum));
+}
+