32{
34
35
36
37
38
40 lwerror(
"missing m-value in function %s\n",__func__);
41
42
44
45
46 int res_ndims;
47 if(returnm)
48 res_ndims = ndims;
49 else
50 res_ndims = ndims-1;
51
52 int pointsize = res_ndims * sizeof(double);
53
54 double m_val;
55
56
57 int m_pos = ndims-1;
58
59 uint32_t i, counter=0;
61 {
63 if(m_val >= min && m_val <= max)
64 counter++;
65 }
66
68
71 {
73 if(m_val >= min && m_val <= max)
74 {
76 res_cursor+=res_ndims;
77 }
78 }
79
80 return pa_res;
81
82}
#define FLAGS_GET_Z(flags)
#define FLAGS_NDIMS(flags)
#define FLAGS_GET_M(flags)
POINTARRAY * ptarray_construct(char hasz, char hasm, uint32_t npoints)
Construct an empty pointarray, allocating storage and setting the npoints, but not filling in any inf...
#define LWDEBUGF(level, msg,...)
void void lwerror(const char *fmt,...) __attribute__((format(printf
Write a notice out to the error handler.
uint8_t * serialized_pointlist