get_SourceDatum Method

WRAPPER_API HorizontalDatum &get_SourceDatum()

WRAPPER_API const HorizontalDatum &get_SourceDatum() const

 

Description

The get_SourceDatum method returns the HorizontalDatum that is used as the source of this DatumShift.

 

Example

void DatumShift_getSourceDatum(GeoCalcPBW::DatumShift & ds)

{

CString description;

description += ds.get_Name();

description += "\nSource: ";

description += ds.get_SourceDatum().get_Name();

description += "\nTarget: ";

description += ds.get_TargetDatum().get_Name();

AfxMessageBox(description);

}