Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge trunk on BR_quadtree 20140820
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_Obstacle.cxx
diff --git
a/src/HYDROData/HYDROData_Obstacle.cxx
b/src/HYDROData/HYDROData_Obstacle.cxx
index 5a108d6ed36a968f714cbce20954af2ecf0390ba..b7c8eb54c8eb67c8bcd3b8e14ce4e3228773e869 100644
(file)
--- a/
src/HYDROData/HYDROData_Obstacle.cxx
+++ b/
src/HYDROData/HYDROData_Obstacle.cxx
@@
-107,6
+107,11
@@
void HYDROData_Obstacle::Update()
HYDROData_Entity::Update();
}
HYDROData_Entity::Update();
}
+bool HYDROData_Obstacle::IsHas2dPrs() const
+{
+ return true;
+}
+
TopoDS_Shape HYDROData_Obstacle::GetTopShape() const
{
return getTopShape();
TopoDS_Shape HYDROData_Obstacle::GetTopShape() const
{
return getTopShape();
@@
-477,3
+482,8
@@
bool HYDROData_Obstacle::getTranslation( double& theDx, double& theDy, double& t
return true;
}
return true;
}
+void HYDROData_Obstacle::UpdateLocalCS( double theDx, double theDy )
+{
+ Translate( theDx, theDy, 0 );
+}
+