pe_curv_to_cart

Converts from (j, l, h) to (X, Y, Z).

Usage syntax

void pe_curv_to_cart (double a, double e2, double phi, double lambda, double h, double *x, double *y, double *z);

Parameters
a Semimajor axis of the spheroid (in meters)
e2 Eccentricity squared of the spheroid
phi Latitude value
lambda Longitude value
h Spheroidal height
x A pointer to the returned X coordinate
y A pointer to the returned Y coordinate
z A pointer to the returned Z coordinate
Description

This function converts from geographic (j, l, h) to geocentric Cartesian (X, Y, Z) coordinates.

Returns

X, Y, and Z (measured in meters) coordinates of the point