pe_vertcs_eq

Tests whether two vertical coordinate system objects are equivalent.

Usage syntax

int pe_vertcs_eq (PE_VERTCS vertcs1, PE_VERTCS vertcs2);
 

Parameters
vertcs1 The first vertical coordinate system object
vertcs2 The second vertical coordinate system object
Description

Tests whether two vertical coordinate system objects are equivalent.

Returns

On success, 1. On failure, 0.

Examples

int vertcs_test;
PE_VERTCS ngvd29;
PE_VERTCS navd88;

ngvd29 = pe_factory_vertcs(PE_VCS_NGVD_1929);
navd88 = pe_factory_vertcs(PE_VCS_NAVD_1988);
vertcs_test = pe_vertcs_eq(ngvd29,navd88);

pe_vertcs_del(ngvd29);
pe_vertcs_del(navd88);