Definition at line 3160 of file lwgeodetic.c.
3168 for ( t=0; t < pa->
npoints; t++ )
3171 if ( pt.
x < -180.0 || pt.
x > 180.0 || pt.
y < -90.0 || pt.
y > 90.0 )
int getPoint4d_p(const POINTARRAY *pa, uint32_t n, POINT4D *point)
#define LW_TRUE
Return types for functions with status returns.
void ptarray_set_point4d(POINTARRAY *pa, uint32_t n, const POINT4D *p4d)
double longitude_degrees_normalize(double lon)
Convert a longitude to the range of -180,180.
double latitude_degrees_normalize(double lat)
Convert a latitude to the range of -90,90.
References getPoint4d_p(), latitude_degrees_normalize(), longitude_degrees_normalize(), LW_FALSE, LW_TRUE, POINTARRAY::npoints, ptarray_set_point4d(), POINT4D::x, and POINT4D::y.
Referenced by lwline_force_geodetic(), lwpoint_force_geodetic(), and lwpoly_force_geodetic().