pe_vertcs_unit

Retrieves the unit of measure from a vertical coordinate system

Usage syntax

PE_UNIT pe_vertcs_unit(PE_VERTCS vertcs);
 

Parameters
vertcs A valid vertical coordinate system object
Description

Pe_vertcs_unit retrieves the linear unit object from a vertical coordinate system.

Returns

On success, the unit of the specified vertical coordinate system object; on failure, a null pointer

Examples

PE_VERTCS vcs;
PE_UNIT u;

vcs = pe_factory_vertcs(PE_VCS_HONG_KONG_CHART_DATUM);
u = pe_vertcs_unit(vcs);

pe_unit_del(u);
pe_vertcs_del(vcs);