|
◆ fastvoxel_bm()
static int fastvoxel_bm |
( |
int * |
coords1, |
|
|
double * |
eps1, |
|
|
int * |
coords2, |
|
|
double * |
eps2, |
|
|
int |
ndims, |
|
|
BitMatrix * |
bm |
|
) |
| |
|
static |
Set in the bit matrix the bits of the tiles connecting with a line two input tiles.
- Parameters
-
[in] | coords1,coords2 | Coordinates of the input tiles |
[in] | eps1,eps2 | Fractional position of the points in the input tiles |
[in] | ndims | Number of dimensions of the grid. It is either 2 (for 2D), 3 (for 3D or 2D+T) or 4 (3D+T) |
[out] | bm | Bit matrix |
- Returns
- Number of tiles set
|