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

◆ make_box()

static ND_BOX make_box ( float  minx,
float  miny,
float  minz,
float  minm,
float  maxx,
float  maxy,
float  maxz,
float  maxm 
)
static

Definition at line 37 of file postgis/cunit/cu_tester.c.

38{
39 ND_BOX box;
40
41 memset(&box, 0, sizeof(box));
42 box.min[0] = minx;
43 box.min[1] = miny;
44 box.min[2] = minz;
45 box.min[3] = minm;
46 box.max[0] = maxx;
47 box.max[1] = maxy;
48 box.max[2] = maxz;
49 box.max[3] = maxm;
50 return box;
51}

References ND_BOX_T::max, and ND_BOX_T::min.

Referenced by nd_box_ratio_cases().

Here is the caller graph for this function: