pe_vdatum_p

Tests whether an object is of type vertical datum.

Usage syntax

int pe_vdatum_p (struct pe_struct_t *p);

Parameters
p The pointer to an object.
Description

Tests whether the argument is an object of type vertical datum.

Returns

Returns 1 if the argument points to an object of type vertical datum. Otherwise, 0.

Examples

int test;
PE_VDATUM ngvd29;
ngvd29 = pe_factory_vdatum(PE_VERTD_NGVD_1929);
test = pe_vdatum_p(ngvd29);
pe_vdatum_del(ngvd29);