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
Issue #2059 point in sketch is created not on selected line of external sketchPlane...
[modules/shaper.git]
/
src
/
GeomAPI
/
GeomAPI_Lin2d.cpp
diff --git
a/src/GeomAPI/GeomAPI_Lin2d.cpp
b/src/GeomAPI/GeomAPI_Lin2d.cpp
index 2d97bd6c8747d49e9af1346e2397eef2f003a089..3f956050f4d6bcb7b50b15b77f6fe99981a6ebb5 100644
(file)
--- a/
src/GeomAPI/GeomAPI_Lin2d.cpp
+++ b/
src/GeomAPI/GeomAPI_Lin2d.cpp
@@
-103,5
+103,6
@@
std::shared_ptr<GeomAPI_Pnt2d> GeomAPI_Lin2d::shiftedLocation(double theShift) c
aVec.Reverse();
aVec.Scale(theShift);
gp_Lin2d aLin = MY_LIN2D->Translated(aVec);
aVec.Reverse();
aVec.Scale(theShift);
gp_Lin2d aLin = MY_LIN2D->Translated(aVec);
- return std::shared_ptr<GeomAPI_Pnt2d>(new GeomAPI_Pnt2d(aLin.Location().X(), aLin.Location().Y()));
+ return std::shared_ptr<GeomAPI_Pnt2d>(new GeomAPI_Pnt2d(aLin.Location().X(),
+ aLin.Location().Y()));
}
}