PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ distance_sq()

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

Definition at line 1024 of file lwtree.c.

1025{
1026 double dx = x1-x2;
1027 double dy = y1-y2;
1028 return dx*dx + dy*dy;
1029}

Referenced by distance().

Here is the caller graph for this function: