pub fn full_shift(&self, p: isize) -> [isize; 26] {
        let shift = self.shift.get(p);
        [shift[0], shift[1], shift[2], shift[3], shift[4], shift[5], shift[6],
         shift[7], shift[8], shift[9], shift[10], shift[11], shift[12],
         shift[14], shift[15], shift[16], shift[17], shift[18], shift[19],
         shift[20], shift[21], shift[22], shift[23], shift[24], shift[25],
         shift[26]]
    }
/// get the full shift to visit the surrounding 26 voxels
get the full shift to visit the surrounding 26 voxels
get the full shift to visit the surrounding 26 voxels
pub fn full_shift(&self, p: isize) -> [isize; 26] {
        let shift = self.shift.get(p);
        [shift[0], shift[1], shift[2], shift[3], shift[4], shift[5], shift[6],
         shift[7], shift[8], shift[9], shift[10], shift[11], shift[12],
         shift[14], shift[15], shift[16], shift[17], shift[18], shift[19],
         shift[20], shift[21], shift[22], shift[23], shift[24], shift[25],
         shift[26]]
    }
pub fn full_shift ( & self , p : isize ) -> [ isize ; 26 ] { let shift = self . shift . get ( p ) ; [ shift [ 0 ] , shift [ 1 ] , shift [ 2 ] , shift [ 3 ] , shift [ 4 ] , shift [ 5 ] , shift [ 6 ] , shift [ 7 ] , shift [ 8 ] , shift [ 9 ] , shift [ 10 ] , shift [ 11 ] , shift [ 12 ] , shift [ 14 ] , shift [ 15 ] , shift [ 16 ] , shift [ 17 ] , shift [ 18 ] , shift [ 19 ] , shift [ 20 ] , shift [ 21 ] , shift [ 22 ] , shift [ 23 ] , shift [ 24 ] , shift [ 25 ] , shift [ 26 ] ] }
get the full shift to visit the surrounding 26 voxels
get the full shift to visit the surrounding 26 voxels
&self
p
isize
&self
p
isize