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
copyrights are updated
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_Profile.cxx
diff --git
a/src/HYDROData/HYDROData_Profile.cxx
b/src/HYDROData/HYDROData_Profile.cxx
index 9c4eda1d8288de01ba5a2b436f6acaa4b6e9bca2..217c49c9981db2e5471b2412470258b21bfb8ca8 100755
(executable)
--- a/
src/HYDROData/HYDROData_Profile.cxx
+++ b/
src/HYDROData/HYDROData_Profile.cxx
@@
-163,7
+163,7
@@
TopoDS_Shape HYDROData_Profile::GetTopShape() const
TopoDS_Shape HYDROData_Profile::GetShape3D() const
{
TopoDS_Shape HYDROData_Profile::GetShape3D() const
{
- TopoDS_Shape aShape =
g
etShape3D();
+ TopoDS_Shape aShape =
HYDROData_Object::G
etShape3D();
if( aShape.IsNull() )
aShape = CreateProfileWire( true );
return aShape;
if( aShape.IsNull() )
aShape = CreateProfileWire( true );
return aShape;
@@
-191,26
+191,16
@@
void HYDROData_Profile::Update()
SetShape3D( aShape );
}
SetShape3D( aShape );
}
-QColor HYDROData_Profile::DefaultFillingColor()
+QColor HYDROData_Profile::DefaultFillingColor()
const
{
return QColor( Qt::transparent );
}
{
return QColor( Qt::transparent );
}
-QColor HYDROData_Profile::DefaultBorderColor()
+QColor HYDROData_Profile::DefaultBorderColor()
const
{
return QColor( Qt::black );
}
{
return QColor( Qt::black );
}
-QColor HYDROData_Profile::getDefaultFillingColor() const
-{
- return DefaultFillingColor();
-}
-
-QColor HYDROData_Profile::getDefaultBorderColor() const
-{
- return DefaultBorderColor();
-}
-
bool HYDROData_Profile::IsValid() const
{
gp_XY aFirstPoint, aLastPoint;
bool HYDROData_Profile::IsValid() const
{
gp_XY aFirstPoint, aLastPoint;
@@
-537,7
+527,7
@@
int HYDROData_Profile::ImportFromFile( const Handle(HYDROData_Document)& theDoc,
aProfile->SetFilePath( theFileName );
aProfile->SetFilePath( theFileName );
- aProfile->SetBorderColor(
HYDROData_Profile::
DefaultBorderColor() );
+ aProfile->SetBorderColor(
aProfile->
DefaultBorderColor() );
}
return aCreatedProfiles.Length();
}
return aCreatedProfiles.Length();