pe_authority_p

Tests whether an object is of type authority

Usage syntax

int pe_authority_p (struct pe_struct_t *p);

Parameters
p The pointer to an object
Description

This function tests whether the argument is an object of type authority.

An authority describes the source of a particular object. Currently, the Projection Engine supports three authorities: EPSG, ESRI, and CUSTOM.

Returns

Returns 1 if the argument points to an object of type authority; otherwise, 0

Examples

test = pe_authority_p(auth1);