Salome HOME
Added new geometrical objects
[modules/shaper.git] / src / GeomAPI / GeomAPI_Pnt.h
index a63974d98c597c088c4e98037a3a0d1d19e57989..9be8ad0ec3d5a876f9664a55751f35fb2da60e6d 100644 (file)
@@ -39,6 +39,9 @@ public:
 
   /// returns coordinates of the point
   const boost::shared_ptr<GeomAPI_XYZ> xyz();
+
+  /// Distance between two points
+  double distance(const boost::shared_ptr<GeomAPI_Pnt>& theOther) const;
 };
 
 #endif