34 if (
BM_get(buff->
nm, (offset % buff->
nm->cols),
35 (offset / buff->
nm->cols))) {
40 *att = (buff->
ib ? (
float)buff->
ib[offset]
47 *att = (buff->
tfunc)(*att, offset);
int BM_get(struct BM *, int, int)
Gets 'val' from the bitmap.
int get_mapatt(typbuff *buff, int offset, float *att)
Get map attributes.
OGSF header file (structures)
float(* tfunc)(float, int)