Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
SymPy solution in 3rd party category for Inside Block by flpo
from sympy import Polygon, Point
def is_inside(poly, point):
poly = Polygon(*poly)
point = Point(point)
return poly.contains(point) or poly.encloses_point(point)
Dec. 30, 2017
Comments: