Function encode_anchor

Source
pub fn encode_anchor(anchor: &[usize; 4]) -> usize
Expand description

Encode an anchor.

Returns the Morton key associated with the given anchor.

ยงArguments

anchor - A vector with 4 elements defining the integer coordinates and level.