问题
How can I compute the area of intersection of two polygons with sympy?
Given are two polygons in sympy (sympy.geometry.polygon.Polygon)
I'm new to python and sympy, so I don't have any code to show. I tried learning it from documentation but I'm confused at the moment.
Can someone help?
Thanks in advance
回答1:
SymPy will calculate intersections of lines and points but does not calculate regions of overlap. I would recommend looking elsewhere.
来源:https://stackoverflow.com/questions/61415068/how-can-i-compute-the-area-of-intersection-of-two-polygons-with-sympy