QString aProfileName = aPanel->getProfileName();
aProfileObj->SetName(aProfileName);
- HYDROData_Profile::ProfilePoints aProfilePoints;
+ HYDROData_ProfileUZ::PointsList aProfileParamPoints;
CurveCreator::Coordinates aCurveCoords = myProfile->getPoints( 0 );
for ( int k = 0 ; k + 1 < aCurveCoords.size() ; k++ )
{
- HYDROData_Profile::ProfilePoint aProfilePoint;
+ HYDROData_ProfileUZ::Point aProfileParamPoint;
- aProfilePoint.SetX( aCurveCoords.at( k ) );
+ aProfileParamPoint.SetX( aCurveCoords.at( k ) );
k++;
- aProfilePoint.SetY( 0 );
- aProfilePoint.SetZ( aCurveCoords.at( k ) );
+ aProfileParamPoint.SetY( aCurveCoords.at( k ) );
- aProfilePoints.Append( aProfilePoint );
+ aProfileParamPoints.Append( aProfileParamPoint );
}
- aProfileObj->SetProfilePoints( aProfilePoints );
+ aProfileObj->SetParametricPoints( aProfileParamPoints );
if( !myIsEdit )
module()->setObjectVisible( HYDROGUI_Tool::GetActiveOCCViewId( module() ), aProfileObj, true );