py_eddy_tracker.poly.winding_number_poly

py_eddy_tracker.poly.winding_number_poly(x, y, xy_poly)[source]

Check if x,y is in poly.

Parameters:
  • x (float) – x to test

  • y (float) – y to test

  • xy_poly (vertice) – vertice of polygon

Returns:

wn == 0 if x,y is not in poly

Retype:

int