pe_vdatum_clone |
Creates a new vertical datum from an existing one.
PE_VDATUM pe_vdatum_clone (PE_VDATUM vdatum);
vdatum | The pointer to an existing vertical datum object |
Creates a duplicate vertical datum from an existing vertical datum object.
On success, the new datum. On failure, a null pointer.
PE_VDATUM navd88;
PE_VDATUM navd88_new;
navd88 = pe_factory_vdatum(PE_VERTD_NAVD_1988);
navd88_new = pe_vdatum_clone(navd88);
pe_vdatum_del(navd88);
pe_vdatum_del(navd88_new);