PostGIS
2.5.7dev-r@@SVN_REVISION@@
◆
distance_sq()
static double distance_sq
(
double
x1
,
double
y1
,
double
x2
,
double
y2
)
inline
static
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:
liblwgeom
lwtree.c
Generated by
1.9.1