pe_geog_to_proj

Converts geographic coordinates to a projected coordinate system

Usage syntax

int pe_geog_to_proj (PE_PROJCS projcs, int n, double coord[ ][2]);

Parameters
projcs Projected coordinate system object
n Number of points
coord[ ][2] Array of points
Description

Applies the map projection’s forward transformation to the specified array of points

Returns

Number of points projected successfully

Examples

double pnt[2][2] = {{10,20},{10,30}};
int out = pe_geog_to_proj(pcs,2,pnt);