WRAPPER_API VerticalDatum* get_VerticalDatum()
WRAPPER_API const VerticalDatum* get_VerticalDatum() const
The get_VerticalDatum method returns the VerticalDatum that provides a frame of reference for making height measurements. If this is an "Ellipsoid Height" style of VerticalReference, then this method will return NULL.
Do not delete or dispose of the VerticalDatum returned by this method. It is managed by the VerticalReference and will be disposed of when the VerticalReference is disposed.
void VerticalReference_getVerticalDatum(GeoCalcPBW::VerticalReference & vr)
{
if(vr.get_HeightModel() == NULL && vr.get_VerticalDatum() == NULL)
{
// then this is an Ellipsoid Height VerticalReference
}
}