MobilityDB
1.1
meos
src
point
tpoint_tile.c
bitmatrix_get
bitmatrix_make
bitmatrix_set_cell
bresenham_bm
stbox_tile_list
stbox_tile_set
stbox_tile_state_get
stbox_tile_state_make
stbox_tile_state_next
tcontseq_set_tiles
tdiscseq_set_tiles
tile_get_coords
tpoint_set_tiles
tpointinst_get_coords
tpointinst_set_tiles
tpointseqset_set_tiles
◆
bresenham_bm()
static void bresenham_bm
(
BitMatrix
*
bm
,
int *
coords1
,
int *
coords2
,
int
numdims
)
static
Set
in the bit matrix the bits of the tiles connecting with a line the two input tiles.
Parameters
[in]
coords1,coords2
Coordinates of the input tiles
[in]
numdims
Number of dimensions of the grid
[out]
bm
Bit matrix
Generated by
1.9.4