pub fn encode_point(
point: &[f64; 3],
level: usize,
origin: &[f64; 3],
diameter: &[f64; 3],
) -> usizeExpand description
Encode a point.
Return the Morton key of a point for a given level.
ยงArguments
point - The (x, y, z) coordinates of the point to map.
level - The level of the tree at which the point will be mapped.
origin - The origin of the bounding box.
diameter - The diameter of the bounding box in each dimension.