PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ distance()

static double distance ( double  x1,
double  y1,
double  x2,
double  y2 
)
inlinestatic

Definition at line 1032 of file lwtree.c.

1033 {
1034  return sqrt(distance_sq(x1, y1, x2, y2));
1035 }
static double distance_sq(double x1, double y1, double x2, double y2)
Definition: lwtree.c:1024

References distance_sq().

Referenced by circ_center_cartesian(), circ_center_spherical(), distance_sphere_method(), do_test_mindistance_tolerance(), edge_calculate_gbox_slow(), geography_distance(), geography_distance_cache(), geography_distance_cache_tolerance(), geography_distance_knn(), geography_distance_tree(), geography_distance_uncached(), geography_dwithin(), geography_dwithin_cache(), geography_dwithin_uncached(), geography_expand(), geography_project(), geography_project_geography(), geography_tree_distance(), geometry_distance_spheroid(), geometry_project_direction(), geometry_project_geometry(), gserialized_distance_box_2d(), gserialized_distance_centroid_2d(), gserialized_distance_nd(), gserialized_expand(), gserialized_gist_distance(), gserialized_gist_distance_2d(), gserialized_gist_geog_distance(), lwgeom_distance_spheroid(), lwgeom_project_spheroid(), lwgeom_project_spheroid_lwpoint(), lwline_interpolate_point_3d(), lwpoint_project(), lwpoint_project_lwpoint(), project_pt(), project_pt_pt(), ptarray_distance_spheroid(), ptarray_locate_point_spheroid(), RASTER_dfullywithin(), RASTER_dwithin(), RASTER_neighborhood(), rect_node_min_distance(), rect_tree_distance_tree(), rt_band_get_nearest_pixel(), rt_raster_fully_within_distance(), rt_raster_within_distance(), sphere_project(), spheroid_project(), ST_3DLineInterpolatePoint(), test_weighted_distance(), and update_r().

Here is the call graph for this function: