PostGIS
3.0.6dev-r@@SVN_REVISION@@
|
LWPOINT* lwgeom_project_spheroid | ( | const LWPOINT * | r, |
const SPHEROID * | spheroid, | ||
double | distance, | ||
double | azimuth | ||
) |
Calculate the location of a point on a spheroid, give a start point, bearing and distance.
Calculate the location of a point on a spheroid, give a start point, bearing and distance.
r | - location of first point. |
spheroid | - spheroid definition. |
distance | - distance, in units of the spheroid def'n. |
azimuth | - azimuth in radians. |
Definition at line 2099 of file lwgeodetic.c.
References distance(), geographic_point_init(), GEOGRAPHIC_POINT::lat, latitude_radians_normalize(), GEOGRAPHIC_POINT::lon, longitude_radians_normalize(), LW_FAILURE, LW_TRUE, LWDEBUGF, lwerror(), lwgeom_set_geodetic(), lwpoint_as_lwgeom(), lwpoint_construct(), lwpoint_get_x(), lwpoint_get_y(), POINT4D::m, ptarray_construct(), ptarray_set_point4d(), r, rad2deg, SPHEROID::radius, spheroid_project(), POINT4D::x, pixval::x, POINT4D::y, pixval::y, and POINT4D::z.
Referenced by geography_project().