pe_hvcoordsys_del

Removes a horizontal and vertical coordinate system object.

Usage syntax

void pe_hvcoordsys_del(PE_HVCOORDSYS hvcoordsys);

Parameters
hvcoordsys The horizontal and vertical coordinate system object
Description

Releases the memory allocated to the specified horizontal and vertical coordinate system object. PE_HVCOORDSYS is an abstract superclass for PE_COORDSYS and PE_VERTCS. PE_COORDSYS is an abstract superclass for PE_GEOGCS and PE_PROJCS.

Returns

None.

Examples

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);

pe_hvcoordsys_del(nad27_ngvd29);
pe_coordsys_del(nad27);
pe_vertcs_del(ngvd29);