Registry / Library

library · v0.1.1
Point In Ring
Apply an even-odd ray crossing test to an open or closed polygon ring. Supply a query off the boundary.
Use Point In Ring
use vendor::point_in_ring::point_in_ring;
Run the example
nest demo point_in_ring@0.1.1
blyxc native-run point_in_ring-demo/main.blyx
Example source and expected output
use vendor::point_in_ring::point_in_ring;
fn main() {
println!(point_in_ring([0,4,4,0],[0,0,4,4],2.0,2.0));
}
Expected output
true
Published versions
| Version | Package | Source commit | SHA-256 |
|---|---|---|---|
| 0.1.1 | Download ZIP · Browse files | 4ac333bc36 | 515ce7bcbbd6a40c30c427173605b7449a3cb939924bb04de18bcd11bf4eb0c0 |
| 0.1.0 | Download ZIP · Browse files | 6349f23784 | f4132ae8fafd562ba721045e979c60ee872bfa937146c198dabf3df90242dc9a |