pe_vdatum_eq

Tests whether two vertical datum objects are equivalent.

Usage syntax

int pe_vdatum_eq (PE_VDATUM vdatum1, PE_VDATUM vdatum2);

Parameters
vdatum1 The first vertical datum object
vdatum2 The second vertical datum object
Description

Tests whether two vertical datum objects are equivalent.

Returns

On success, one. On failure, zero.   

Examples

int vdatum_test;
PE_VDATUM ngvd29;
PE_VDATUM navd88;

ngvd29 = pe_factory_vdatum(PE_VERTD_NGVD_1929);
navd88 = pe_factory_vdatum(PE_VERTD_NAVD_1988);
vdatum_test = pe_vdatum_eq(ngvd29,navd88);

pe_vdatum_del(ngvd29);
pe_vdatum_del(navd88);