HYDROGUI_Tool::FindObjectByName( module(), aGeoData.Name, KIND_PROFILE ) );
if ( !aProfile.IsNull() ) {
if ( !aGeoData.isEmpty ) {
HYDROGUI_Tool::FindObjectByName( module(), aGeoData.Name, KIND_PROFILE ) );
if ( !aProfile.IsNull() ) {
if ( !aGeoData.isEmpty ) {
- aProfile->SetFirstPoint( gp_XY( aGeoData.Xg, aGeoData.Yg ) );
- aProfile->SetLastPoint( gp_XY( aGeoData.Xd, aGeoData.Yd ) );
+ aProfile->SetLeftPoint( gp_XY( aGeoData.Xg, aGeoData.Yg ) );
+ aProfile->SetRightPoint( gp_XY( aGeoData.Xd, aGeoData.Yd ) );
HYDROGUI_GeoreferencementDlg::ProfileGeoData aGeoData( aProfile->GetName() );
gp_XY aFirstPoint, aLastPoint;
HYDROGUI_GeoreferencementDlg::ProfileGeoData aGeoData( aProfile->GetName() );
gp_XY aFirstPoint, aLastPoint;
aGeoData =
HYDROGUI_GeoreferencementDlg::ProfileGeoData( aGeoData.Name,
aFirstPoint.X(), aFirstPoint.Y(),
aGeoData =
HYDROGUI_GeoreferencementDlg::ProfileGeoData( aGeoData.Name,
aFirstPoint.X(), aFirstPoint.Y(),