PostGIS  2.3.7dev-r@@SVN_REVISION@@
static void calc_distances_3d ( const POINT3D curr,
const POINT3D points,
uint32_t  npoints,
double *  distances 
)
static

Definition at line 31 of file lwgeom_median.c.

References distance3d_pt_pt().

Referenced by iterate_3d().

32 {
33  uint32_t i;
34  for (i = 0; i < npoints; i++)
35  {
36  distances[i] = distance3d_pt_pt(curr, &points[i]);
37  }
38 }
double distance3d_pt_pt(const POINT3D *p1, const POINT3D *p2)
Definition: measures3d.c:795

Here is the call graph for this function:

Here is the caller graph for this function: