From 375528a93a880218ddb86dd990ac9e12a42c6282 Mon Sep 17 00:00:00 2001 From: asl Date: Wed, 4 Dec 2013 10:15:04 +0000 Subject: [PATCH] correct passing of parametric representation --- src/HYDROGUI/HYDROGUI_ProfileOp.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ); -- 2.39.2