| pe_factory_projection_codelist |
Creates a list of predefined projection codes.
int *pe_factory_projection_codelist (int *num_codes);
| num_codes | A pointer to the integer, which upon return will contain the number of predefined projection object codes in the array |
Creates a list of the predefined projection codes.
On success, an array of projection codes. On failure, a null pointer.
int *list;
int number, i;
list = pe_factory_projection_codelist(&number);
printf("Total number of predefined projections: %6d\n",number);
for (i=0; i<number; i++)
{
printf("%6d\n",list[i]);
}
pe_factory_codelist_del(list);