if ( !aRefImage.IsNull() )
aResSeq.Append( aRefImage );
- aResSeq.Append( GetReferenceObjects( 0 ) );
+ HYDROData_SequenceOfObjects aSeqRefObjects = GetReferenceObjects( 0 );
+ aResSeq.Append( aSeqRefObjects );
return aResSeq;
}
{
double aXCart = 0, aYCart = 0;
- HYDROData_Lambert93::toXY( aTrsfPointA.x(), aTrsfPointA.y(), aXCart, aYCart );
+ HYDROData_Lambert93::toXY( aTrsfPointA.y(), aTrsfPointA.x(), aXCart, aYCart );
aTrsfPointA = QPointF( aXCart, aYCart );
- HYDROData_Lambert93::toXY( aTrsfPointB.x(), aTrsfPointB.y(), aXCart, aYCart );
+ HYDROData_Lambert93::toXY( aTrsfPointB.y(), aTrsfPointB.x(), aXCart, aYCart );
aTrsfPointB = QPointF( aXCart, aYCart );
if ( !anIsByTwoPoints )
{
- HYDROData_Lambert93::toXY( aTrsfPointC.x(), aTrsfPointC.y(), aXCart, aYCart );
+ HYDROData_Lambert93::toXY( aTrsfPointC.y(), aTrsfPointC.x(), aXCart, aYCart );
aTrsfPointC = QPointF( aXCart, aYCart );
}
}