Blyx Nest Blyx language
Registry / Library
library · v0.1.0

GeoBounds

Find a projected planar extent from paired point coordinates.

Source repository · Package JSON

Use GeoBounds

use vendor::geobounds::geobounds;

Run the example

nest demo geobounds@0.1.0
blyxc native-run geobounds-demo/main.blyx
Example source and expected output
use vendor::geobounds::geobounds;

fn main() {
    let east = [-2, 5, 1];
    let north = [4, -1, 3];
    let result = geobounds_extent(east, north);
    if len(result) == 0 { println!("invalid"); return; }
    let mut i = 0;
    while i < len(result) {
        println!(at(result, i));
        i += 1;
    }
}

Expected output

-2
-1
5
4

Published versions

VersionPackageSource commitSHA-256
0.1.0Download ZIPcbb96386d20b4534daeeebd64d4a959c9e123bda61d3a8339a81276f42f7ca47048bb60708