pe_parameter_index

Retrieves the array index value of a parameter.

Usage syntax

int pe_parameter_index (PE_PARAMETER parameter);

Parameters
parameter The parameter object
Description

Retrieves the array index value of a parameter. The parameter array holds parameter values for projected coordinate system and geographic transformation objects. The parameter array is a one-dimensional array with up to PE_PARAMETER_MAX values. Each projected coordinate system or geographic transformation object stores its parameter values in particular elements in the array. The pe_parameter_index function tells you the element in the array where a particular parameter is located.

Returns

On success, the array index value of the parameter of the specified parameter object.

Examples
 

PE_PARAMETER lam0 = pe_parameter_new("Central_Meridian",-100.0);
int i = pe_parameter_index(lam0));