pe_vertcs_clone

Creates a new vertical coordinate system from an existing one.

Usage syntax

PE_VERTCS pe_vertcs_clone (PE_VERTCS vertcs);
 

Parameters
vertcs The pointer to an existing vertical coordinate system object
Description

Creates a duplicate vertical coordinate system from an existing vertical coordinate system object.

Returns

On success, the new vertical coordinate system. On failure, a null pointer.

Examples

PE_VERTCS navd88;
PE_VERTCS navd88_new;

navd88 = pe_factory_vertcs(PE_VCS_NAVD_1988);
navd88_new = pe_vertcs_clone(navd88);
pe_vertcs_del(navd88);
pe_vertcs_del(navd88_new);