pe_delta_center

Adjusts (l - l0) to within ±p of the center longitude

Usage syntax

double pe_delta_center (double lam, double center_lam);

Parameters
lam Longitude of the current point
center_lam Longitude to center around
Description

Ensures that the difference between the longitude of the current point and central longitude (l - l0) remains within ±p during calculations.

Returns

Returns a value between ±p of the center_lam value