pub fn anchor_to_coordinates(
anchor: &[usize; 4],
origin: &[f64; 3],
diameter: &[f64; 3],
) -> [f64; 3]
Expand description
Given an anchor, return the corresponding x,y,z coordinates.
The result is the coordinates of the lower left corner of the box described by the given anchor.
ยงArguments
anchor
- The three indices describing the box and the level information.
origin
- The origin of the bounding box.
diameter
- The diameter of the bounding box in each dimension.