摘要:
也就是相交圆的交点,直接上代码 import matplotlib.pyplot as plt from matplotlib.patches import Circle import math x1, y1, a = 9, 8, 2 x2, y2, b = 10, 11, 3 ## 计算两点的距离 阅读全文
摘要:
使用shapely库爆出的错误。 看poly的类型,类型不一样,解决方案也不一样 if (poly.geom_type == 'MultiPolygon'): # if MultiPolygon, take the smallest convex Polygon containing all the 阅读全文