pe_hvcoordsys_p |
Tests whether an object is of type horizontal and vertical coordinate system
int pe_hvcoordsys_p (struct pe_struct_t *p);
o | The pointer to an object. |
This function tests whether the argument is an object of type horizontal and vertical coordinate system.
Returns 1 if the argument points to an object of type horizontal and vertical coordinate system; otherwise, 0
int test;
PE_HVCOORDSYS nad27_ngvd29;
PE_COORDSYS nad27;
PE_VERTCS ngvd29;
nad27 = pe_factory_geogcs(PE_GCS_NAD_1927);
ngvd29 = pe_factory_vertcs(PE_VCS_NGVD_1929);
nad27_ngvd29 = pe_hvcoordsys_new(nad27, ngvd29);
test = pe_hvcoordsys_p(nad27_ngvd29);
pe_hvcoordsys_del(nad27_ngvd29);
pe_coordsys_del(nad27);
pe_vertcs(ngvd29);