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
correct passing of parametric representation
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_ProfileOp.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_ProfileOp.cxx
b/src/HYDROGUI/HYDROGUI_ProfileOp.cxx
index de66285269f83ba04f9ae2a35b6525673498fd6c..db4cd7baf4601d6a4ae1d38dc83809cfefb3949a 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_ProfileOp.cxx
+++ b/
src/HYDROGUI/HYDROGUI_ProfileOp.cxx
@@
-94,14
+94,14
@@
void HYDROGUI_ProfileOp::startOperation()
CurveCreator::Coordinates aCurveCoords;
CurveCreator::SectionsMap aSectionsMap;
CurveCreator::Coordinates aCurveCoords;
CurveCreator::SectionsMap aSectionsMap;
- HYDROData_Profile
::ProfilePoints aSectPointsList = myEditedObject->GetProfile
Points();
+ HYDROData_Profile
UZ::PointsList aSectPointsList = myEditedObject->GetParametric
Points();
CurveCreator::PosPointsList aPoints;
for ( int k = 1, aNbPoints = aSectPointsList.Size(); k <= aNbPoints; ++k )
{
CurveCreator::PosPointsList aPoints;
for ( int k = 1, aNbPoints = aSectPointsList.Size(); k <= aNbPoints; ++k )
{
- const HYDROData_Profile
::Profile
Point& aSectPoint = aSectPointsList.Value( k );
+ const HYDROData_Profile
UZ::
Point& aSectPoint = aSectPointsList.Value( k );
aCurveCoords.clear();
aCurveCoords.push_back( aSectPoint.X() );
aCurveCoords.clear();
aCurveCoords.push_back( aSectPoint.X() );
- aCurveCoords.push_back( aSectPoint.
Z
() );
+ aCurveCoords.push_back( aSectPoint.
Y
() );
CurveCreator_PosPoint* aPosPoint = new CurveCreator_PosPoint( k, aCurveCoords );
aPoints.push_back( aPosPoint );
CurveCreator_PosPoint* aPosPoint = new CurveCreator_PosPoint( k, aCurveCoords );
aPoints.push_back( aPosPoint );