draw#

Spline.draw(x, y)#

Computes whether a point is inside or outside a closed spline on a regular grid of points.

Parameters#

xnumpy array

A 1D array containing the x values of the grid of points.

ynumpy array

A 1D array containing the y values of the grid of points.