Created
February 27, 2017 17:35
-
-
Save LordAro/2acc304a133e1fe76df213ec994a7f10 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "foo" | |
version = "1.0.0" | |
[dependencies] | |
lonlat_bng = "*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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