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
Initial merge of branch 'BR_HYDRO_IMPS_2016' into BR_PORTING_OCCT_7
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_Document.cxx
diff --git
a/src/HYDROData/HYDROData_Document.cxx
b/src/HYDROData/HYDROData_Document.cxx
index 56c6590f3c34cdaaf8d73e40155d52ae452cad72..6a8f7376402874535a0698799b981a0a1c76ccc6 100644
(file)
--- a/
src/HYDROData/HYDROData_Document.cxx
+++ b/
src/HYDROData/HYDROData_Document.cxx
@@
-236,7
+236,7
@@
bool HYDROData_Document::DumpToPython( const QString& thePyScriptPath,
{
// Try to open the file
QFile aFile( thePyScriptPath );
{
// Try to open the file
QFile aFile( thePyScriptPath );
- if ( !aFile.open( QIODevice::WriteOnly ) )
+ if ( !aFile.open( QIODevice::WriteOnly
| QFile::Text
) )
return false;
MapOfTreatedObjects aTreatedObjects;
return false;
MapOfTreatedObjects aTreatedObjects;
@@
-830,6
+830,11
@@
void HYDROData_Document::Transform( gp_XYZ& thePnt, bool IsToLocalCS ) const
thePnt = gp_XYZ( X, Y, Z );
}
thePnt = gp_XYZ( X, Y, Z );
}
+void HYDROData_Document::Transform( double& X, double& Y, double& Z, bool IsToLocalCS ) const
+{
+ Transform( X, Y, IsToLocalCS );
+}
+
void HYDROData_Document::Transform( gp_XY& thePnt, bool IsToLocalCS ) const
{
double X = thePnt.X();
void HYDROData_Document::Transform( gp_XY& thePnt, bool IsToLocalCS ) const
{
double X = thePnt.X();