py_eddy_tracker.poly¶
Method for polygon
Functions
Compute bbox to check if there are a bbox intersection. |
|
Compute an overlap with circle parameter and return a percentage |
|
Check if polygon is convex |
|
Check if polygons are convex |
|
Return polygon vertice. |
|
Choose a polygon in x,y list and return vertice. |
|
From a polygon, function will fit a circle. |
|
From a polygon, function will fit a circle. |
|
Get convex polygon which enclosed current polygon |
|
Get a pixel list of a regular grid contain in a contour. |
|
Return a vertice for each polygon and check that use same reference coordinates. |
|
Test if point is left of an infinit line. |
|
Merge all polygon of the list |
|
Must be call with local coordinates (in m, to get an area in m²). |
|
Compute area from vertice. |
|
Check if poly_in is include in poly_out. |
|
Return percent of overlap for each item. |
|
With a polygon(x,y) in local coordinates. |
|
Double area of triangle |
|
Return percent of overlap for each item. |
|
Polygon simplification with visvalingam algorithm |
|
Return index for each grid coordinates within contour. |
|
Check if x,y is in poly. |