Blyx Nest Blyx language
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.

Source repository · Package JSON

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

VersionPackageSource commitSHA-256
0.1.1Download ZIP · Browse files4ac333bc36515ce7bcbbd6a40c30c427173605b7449a3cb939924bb04de18bcd11bf4eb0c0
0.1.0Download ZIP · Browse files6349f23784f4132ae8fafd562ba721045e979c60ee872bfa937146c198dabf3df90242dc9a