PostGIS
3.4.0dev-r@@SVN_REVISION@@
|
LWGEOM* geography_tree_closestpoint | ( | const LWGEOM * | lwgeom1, |
const LWGEOM * | lwgeom2, | ||
double | threshold | ||
) |
Definition at line 1036 of file lwgeodetic_tree.c.
References circ_tree_distance_tree_internal(), circ_tree_free(), GEOGRAPHIC_POINT::lat, GEOGRAPHIC_POINT::lon, lwgeom_calculate_circ_tree(), lwgeom_get_srid(), lwpoint_make2d(), rad2deg, result, WGS84_RADIUS, POINT4D::x, and POINT4D::y.
Referenced by geography_closestpoint().