pe_hvdatum_p

Tests whether an object is of type horizontal or vertical datum.

Usage syntax

int pe_hvdatum_p (struct pe_struct_t *p);

Parameters
p The pointer to an object.
Description

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

Returns

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

Examples

int test;
PE_HVDATUM ngvd29;
ngvd29 = pe_factory_vdatum(PE_VERTD_NGVD_1929);
test = pe_hvdatum_p(ngvd29);
pe_hvdatum_del(ngvd29);