X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Pnt.h;h=9be8ad0ec3d5a876f9664a55751f35fb2da60e6d;hb=8f2fef811ec343cd840bef38e56f3658178f442c;hp=a63974d98c597c088c4e98037a3a0d1d19e57989;hpb=d7221651e77934d198d3bf9c32a9a345545ea680;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Pnt.h b/src/GeomAPI/GeomAPI_Pnt.h index a63974d98..9be8ad0ec 100644 --- a/src/GeomAPI/GeomAPI_Pnt.h +++ b/src/GeomAPI/GeomAPI_Pnt.h @@ -39,6 +39,9 @@ public: /// returns coordinates of the point const boost::shared_ptr xyz(); + + /// Distance between two points + double distance(const boost::shared_ptr& theOther) const; }; #endif