pe_vtmethod_clone

Creates a new vertical transformation method object from an existing one

Usage syntax

PE_VTMETHOD pe_vtmethod_clone (PE_VTMETHOD vtmethod);

Parameters
vtmethod An existing vertical transformation method object
Description

Pe_vtmethod_clone creates a duplicate vertical transformation method from an existing vtmethod object.

Returns

On success, returns the new vertical transformation method with the attributes equal to the corresponding arguments; on failure, returns a null pointer.

Examples

PE_VTMETHOD egm96_2 = pe_vtmethod_clone(egm96bilinear);