pe_hvdatum_eq

Tests whether two horizontal or vertical datum objects are equivalent.

Usage syntax

int pe_hvdatum_eq (PE_HVDATUM hvdatum1, PE_HVDATUM hvdatum2);

Parameters
hvdatum1 The first horizontal or vertical datum object
hvdatum2 The second horizontal or vertical datum object
Description

Tests whether two horizontal or vertical datum objects are equivalent.

Returns

On success, one. On failure, zero.

Examples

int hvdatum_test;
PE_HVDATUM ngvd29;
PE_HVDATUM navd88;

ngvd29 = pe_factory_vdatum(PE_VERTD_NGVD_1929);
navd88 = pe_factory_vdatum(PE_VERTD_NAVD_1988);
hvdatum_test = pe_hvdatum_eq(ngvd29,navd88);

pe_vdatum_del(ngvd29);
pe_vdatum_del(navd88);