Skip to content

Instantly share code, notes, and snippets.

@LordAro
Created February 27, 2017 17:35
Show Gist options
  • Save LordAro/2acc304a133e1fe76df213ec994a7f10 to your computer and use it in GitHub Desktop.
Save LordAro/2acc304a133e1fe76df213ec994a7f10 to your computer and use it in GitHub Desktop.
[package]
name = "foo"
version = "1.0.0"
[dependencies]
lonlat_bng = "*"
extern crate lonlat_bng;
use lonlat_bng::convert_to_bng_threaded_vec;
fn main() {
let lon: &mut [f64] = &mut [20000.0];
let lat: &mut [f64] = &mut [20000.0];
println!("{:?}", convert_to_bng_threaded_vec(lon, lat));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment