PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ calc_distances_3d()

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 }
unsigned int uint32_t
Definition: uthash.h:78
double distance3d_pt_pt(const POINT3D *p1, const POINT3D *p2)
Definition: measures3d.c:818
Here is the call graph for this function:
Here is the caller graph for this function: