Mapping between coordinate position (x,y,z) and voxel index

@dgobbi Currently, I meet a problem about the world point, and this is the detail. Could you please have a look at this question? This question really make me crazy. Any suggestion is appreciated!