1 #define RSL_FOREACH_VOL(radar, volume, count, index) \
3 for (guint index = 0; index < radar->h.nvolumes; index++) { \
4 Volume *volume = radar->v[index]; \
5 if (volume == NULL) continue; \
8 #define RSL_FOREACH_SWEEP(volume, sweep, count, index) \
10 for (guint index = 0; index < volume->h.nsweeps; index++) { \
11 Sweep *sweep = volume->sweep[index]; \
12 if (sweep == NULL || sweep->h.elev == 0) continue; \
15 #define RSL_FOREACH_RAY(sweep, ray, count, index) \
17 for (guint index = 0; index < sweep->h.nrays; index++) { \
18 Ray *ray = sweep->ray[index]; \
19 if (ray == NULL) continue; \
22 #define RSL_FOREACH_BIN(ray, bin, count, index) \
24 for (guint index = 0; index < ray->h.nbins; index++) { \
25 Range bin = ray->range[index]; \
28 #define RSL_FOREACH_END }