X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ProfileOp.cxx;h=db4cd7baf4601d6a4ae1d38dc83809cfefb3949a;hb=375528a93a880218ddb86dd990ac9e12a42c6282;hp=de66285269f83ba04f9ae2a35b6525673498fd6c;hpb=3a26584cd48d5bec44db84362c68d82f7549b009;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ProfileOp.cxx b/src/HYDROGUI/HYDROGUI_ProfileOp.cxx index de662852..db4cd7ba 100644 --- 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; - HYDROData_Profile::ProfilePoints aSectPointsList = myEditedObject->GetProfilePoints(); + HYDROData_ProfileUZ::PointsList aSectPointsList = myEditedObject->GetParametricPoints(); CurveCreator::PosPointsList aPoints; for ( int k = 1, aNbPoints = aSectPointsList.Size(); k <= aNbPoints; ++k ) { - const HYDROData_Profile::ProfilePoint& aSectPoint = aSectPointsList.Value( k ); + const HYDROData_ProfileUZ::Point& aSectPoint = aSectPointsList.Value( k ); 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 );