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
Changes for modifying of GeomData objects by GeomAPI objects
[modules/shaper.git]
/
src
/
GeomData
/
GeomData_Point.cpp
diff --git
a/src/GeomData/GeomData_Point.cpp
b/src/GeomData/GeomData_Point.cpp
index 6ad2ac56479b99942b5c4c2ac55be0947aedb3a9..da6299703174b694c2d95b179b905a738c2dfc23 100644
(file)
--- a/
src/GeomData/GeomData_Point.cpp
+++ b/
src/GeomData/GeomData_Point.cpp
@@
-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);