Calculate the location of a point on a spheroid, give a start point, end point and distance.
Definition at line 2016 of file lwgeodetic.c.
2017{
2020 return lwp;
2021}
LWPOINT * lwgeom_project_spheroid(const LWPOINT *r, const SPHEROID *spheroid, double distance, double azimuth)
Calculate a projected point given a source point, a distance and a bearing.
double lwgeom_azumith_spheroid(const LWPOINT *r, const LWPOINT *s, const SPHEROID *spheroid)
Calculate a bearing (azimuth) given a source and destination point.
static double distance(double x1, double y1, double x2, double y2)
References distance(), lwgeom_azumith_spheroid(), and lwgeom_project_spheroid().
Referenced by geography_project_geography().