pub fn reduced_shift(&self, p: isize) -> [isize; 6] {
        let shift = self.shift.get(p);
        // [ +x, -x, +y, -y, +z, -z ]
        [shift[22], shift[4], shift[16], shift[10], shift[14], shift[12]]
    }
/// get the reduced shift to visit the surrounding 6 voxels
get the reduced shift to visit the surrounding 6 voxels
get the reduced shift to visit the surrounding 6 voxels
pub fn reduced_shift(&self, p: isize) -> [isize; 6] {
        let shift = self.shift.get(p);
        // [ +x, -x, +y, -y, +z, -z ]
        [shift[22], shift[4], shift[16], shift[10], shift[14], shift[12]]
    }
pub fn reduced_shift ( & self , p : isize ) -> [ isize ; 6 ] { let shift = self . shift . get ( p ) ; // [ +x, -x, +y, -y, +z, -z ] [ shift [ 22 ] , shift [ 4 ] , shift [ 16 ] , shift [ 10 ] , shift [ 14 ] , shift [ 12 ] ] }
get the reduced shift to visit the surrounding 6 voxels
get the reduced shift to visit the surrounding 6 voxels
&self
p
isize
&self
p
isize