Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added new geometrical objects
[modules/shaper.git]
/
src
/
GeomAPI
/
GeomAPI_Pnt.h
diff --git
a/src/GeomAPI/GeomAPI_Pnt.h
b/src/GeomAPI/GeomAPI_Pnt.h
index a63974d98c597c088c4e98037a3a0d1d19e57989..9be8ad0ec3d5a876f9664a55751f35fb2da60e6d 100644
(file)
--- 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<GeomAPI_XYZ> xyz();
+
+ /// Distance between two points
+ double distance(const boost::shared_ptr<GeomAPI_Pnt>& theOther) const;
};
#endif