pub fn maxima_get(&self, p: isize) -> isize {
        let maxima = self.voxel_map[p as usize];
        match maxima.cmp(&-1) {
            std::cmp::Ordering::Equal => -1,
            std::cmp::Ordering::Greater => maxima,
            std::cmp::Ordering::Less => {
                let weight = self.weight_get(maxima);
                weight[0] as isize
            }
        }
    }
/// Atomic loading of voxel, p, from voxel_map
Atomic loading of voxel, p, from voxel_map
Atomic loading of voxel p from voxel_map
pub fn maxima_get(&self, p: isize) -> isize {
        let maxima = self.voxel_map[p as usize];
        match maxima.cmp(&-1) {
            std::cmp::Ordering::Equal => -1,
            std::cmp::Ordering::Greater => maxima,
            std::cmp::Ordering::Less => {
                let weight = self.weight_get(maxima);
                weight[0] as isize
            }
        }
    }
pub fn maxima_get ( & self , p : isize ) -> isize { let maxima = self . voxel_map [ p as usize ] ; match maxima . cmp ( & - 1 ) { std :: cmp :: Ordering :: Equal => - 1 , std :: cmp :: Ordering :: Greater => maxima , std :: cmp :: Ordering :: Less => { let weight = self . weight_get ( maxima ) ; weight [ 0 ] as isize } } }
Atomic loading of voxel, p, from voxel_map
Atomic loading of voxel p from voxel_map
&self
p
isize
&self
p
isize