GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <grass/gsurf.h>
Go to the source code of this file.
Macros | |
#define | GET_MAPATT1(buff, offset, att) |
#define | GET_MAPATT2(buff, offset, att) |
#define | SCALE_ATT(att, val, low, high) |
#define | GET_MAPATT(buff, offset, att) (get_mapatt(buff, offset, &(att))) |
#define | BM_GET_BYOFFSET(bm, off) (bm? BM_get(bm, (off%bm->cols), (off/bm->cols)): 0) |
#define | XYMAXPOS 0x3ff /* 1023 */ |
#define | ZMAXPOS 0x3ff /* 1023 */ |
#define | NXMASK 0xffe00000 /* top 11 bits */ |
#define | NYMASK 0x1ffc00 /* middle 11 bits of packed int */ |
#define | NZMASK 0x3ff /* lowest 10 bits */ |
#define | NZUP 0x000003ff |
#define | FNORM(i, nv) |
#define | PNORM(i, nv) |
#define BM_GET_BYOFFSET | ( | bm, | |
off | |||
) | (bm? BM_get(bm, (off%bm->cols), (off/bm->cols)): 0) |
#define FNORM | ( | i, | |
nv | |||
) |
Definition at line 50 of file gsget.h.
Referenced by GS_get_norm_at_xy(), gsd_coarse_surf_map(), gsd_norm_arrows(), gsd_surf_map(), gsd_surf_map_old(), and gsd_wire_arrows().
#define GET_MAPATT | ( | buff, | |
offset, | |||
att | |||
) | (get_mapatt(buff, offset, &(att))) |
Definition at line 27 of file gsget.h.
Referenced by calc_norm(), get_diag_intersects(), get_horz_intersects(), get_vert_intersects(), GS_get_cat_at_xy(), GS_get_val_at_xy(), gsbm_make_mask(), gsd_coarse_surf_map(), gsd_fringe_horiz_line(), gsd_fringe_horiz_line2(), gsd_fringe_horiz_poly(), gsd_fringe_vert_line(), gsd_fringe_vert_poly(), gsd_norm_arrows(), gsd_surf_map(), gsd_surf_map_old(), gsd_wire_arrows(), gsd_wire_surf_map(), gsdiff_do_SD(), and viewcell_tri_interp().
#define GET_MAPATT1 | ( | buff, | |
offset, | |||
att | |||
) |
#define PNORM | ( | i, | |
nv | |||
) |
#define SCALE_ATT | ( | att, | |
val, | |||
low, | |||
high | |||
) |
Definition at line 22 of file gsget.h.
Referenced by gsd_coarse_surf_map(), gsd_surf_map(), and gsd_surf_map_old().