uvoxid 0.2.0

UVoxID: 192-bit spatial addressing scheme for encoding/decoding micrometer + lat/lon coordinates.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// A difference between two UvoxIds
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct Delta {
    pub dr_um: i64,
    pub dlat: i64,
    pub dlon: i64,
}

impl Delta {
    pub fn new(dr_um: i64, dlat: i64, dlon: i64) -> Self {
        Self { dr_um, dlat, dlon }
    }
}