首页 > 解决方案 > python中闭环曲线内的区域

问题描述

给定 matplotlib 中的图,如何找到它们所覆盖的区域(集成区域)?

在此处输入图像描述

标签: pythonmatplotlibnumerical-integration

解决方案


匀称地使用

这是另一个 QA的简要说明

>>> from shapely.geometry import Point
>>> a = Point(1, 1).buffer(1.5)
>>> b = Point(2, 1).buffer(1.5)
>>> c = a.intersection(b)
>>> c.area
4.11619859013966

推荐阅读