foronoi:Python中Voronoi图的Fortune算法的实现-源码

上传者: 42097508 | 上传时间: 2021-08-18 15:06:38 | 文件大小: 1.38MB | 文件类型: ZIP
福鲁诺伊 V oronoi图的F ortune算法。 Foronoi是基于de Berg等人对“计算几何:算法和应用程序”的描述,是Fortune算法的Python实现。 此算法是扫掠线算法,它从上向下扫描单元点,并通过抛物线(弧)之间的断点来追踪线。 线收敛时,会发生一个圆形事件,该事件会插入一个新的顶点。 。 点安装 pip install foronoi 手动安装 首先,克隆存储库,然后安装软件包。 git clone https://github.com/Yatoom/foronoi.git cd foronoi python setup.py install 注意:您需要在大多数Linux发行版上使用sudo python3 setup.py install 。 用法示例 使用多边形作为边界框的示例。 from foronoi import Voronoi , Pol

文件下载

资源详情

[{"title":"( 85 个子文件 1.38MB ) foronoi:Python中Voronoi图的Fortune算法的实现-源码","children":[{"title":"foronoi-master","children":[{"title":"setup.py <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false},{"title":"foronoi","children":[{"title":"__init__.py <span style='color:#111;'> 542B </span>","children":null,"spread":false},{"title":"events","children":[{"title":"__init__.py <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"event.py <span style='color:#111;'> 625B </span>","children":null,"spread":false},{"title":"site_event.py <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":"circle_event.py <span style='color:#111;'> 5.01KB </span>","children":null,"spread":false}],"spread":true},{"title":"algorithm.py <span style='color:#111;'> 22.84KB </span>","children":null,"spread":false},{"title":"contrib","children":[{"title":"__init__.py <span style='color:#111;'> 59B </span>","children":null,"spread":false},{"title":"bounding_circle.py <span style='color:#111;'> 6.86KB </span>","children":null,"spread":false}],"spread":true},{"title":"visualization","children":[{"title":"tree_visualizer.py <span style='color:#111;'> 622B </span>","children":null,"spread":false},{"title":"visualizer.py <span style='color:#111;'> 18.56KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 108B </span>","children":null,"spread":false}],"spread":true},{"title":"tests","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"unit.py <span style='color:#111;'> 16.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"tree","children":[{"title":"node.py <span style='color:#111;'> 7.35KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 69B </span>","children":null,"spread":false},{"title":"tree.py <span style='color:#111;'> 10.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"graph","children":[{"title":"algebra.py <span style='color:#111;'> 2.53KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 305B </span>","children":null,"spread":false},{"title":"coordinate.py <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"vertex.py <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"bounding_box.py <span style='color:#111;'> 761B </span>","children":null,"spread":false},{"title":"point.py <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false},{"title":"polygon.py <span style='color:#111;'> 8.06KB </span>","children":null,"spread":false},{"title":"half_edge.py <span style='color:#111;'> 5.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"observers","children":[{"title":"tree_observer.py <span style='color:#111;'> 3.57KB </span>","children":null,"spread":false},{"title":"voronoi_observer.py <span style='color:#111;'> 4.21KB </span>","children":null,"spread":false},{"title":"debug_observer.py <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"subject.py <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"observer.py <span style='color:#111;'> 547B </span>","children":null,"spread":false},{"title":"message.py <span style='color:#111;'> 520B </span>","children":null,"spread":false}],"spread":true},{"title":"nodes","children":[{"title":"internal_node.py <span style='color:#111;'> 506B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 179B </span>","children":null,"spread":false},{"title":"breakpoint.py <span style='color:#111;'> 4.01KB </span>","children":null,"spread":false},{"title":"arc.py <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"leaf_node.py <span style='color:#111;'> 463B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".travis.yml <span style='color:#111;'> 102B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"Pipfile.lock <span style='color:#111;'> 14.84KB </span>","children":null,"spread":false},{"title":"setup.cfg <span style='color:#111;'> 39B </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"check.py <span style='color:#111;'> 828B </span>","children":null,"spread":false},{"title":"random_bounding_triangle.py <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"observers.py <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"bounding_circle.py <span style='color:#111;'> 611B </span>","children":null,"spread":false},{"title":"quickstart.py <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"bounding_polygon.py <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"profiling_performance.py <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false},{"title":"Pipfile <span style='color:#111;'> 213B </span>","children":null,"spread":false},{"title":"voronoi.gif <span style='color:#111;'> 552.08KB </span>","children":null,"spread":false},{"title":".readthedocs.yaml <span style='color:#111;'> 491B </span>","children":null,"spread":false},{"title":"docs","children":[{"title":"requirements.txt <span style='color:#111;'> 36B </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 634B </span>","children":null,"spread":false},{"title":"api.rst <span style='color:#111;'> 95B </span>","children":null,"spread":false},{"title":"index.rst <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"conf.py <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"attachments","children":[{"title":"animation.gif <span style='color:#111;'> 368.14KB </span>","children":null,"spread":false},{"title":"example.png <span style='color:#111;'> 41.99KB </span>","children":null,"spread":false},{"title":"tree.gif <span style='color:#111;'> 423.78KB </span>","children":null,"spread":false}],"spread":false},{"title":"make.bat <span style='color:#111;'> 795B </span>","children":null,"spread":false},{"title":"public","children":[{"title":"point.rst <span style='color:#111;'> 75B </span>","children":null,"spread":false},{"title":"voronoi.rst <span style='color:#111;'> 75B </span>","children":null,"spread":false},{"title":"half_edge.rst <span style='color:#111;'> 84B </span>","children":null,"spread":false},{"title":"polygon.rst <span style='color:#111;'> 79B </span>","children":null,"spread":false},{"title":"coordinate.rst <span style='color:#111;'> 93B </span>","children":null,"spread":false},{"title":"vertex.rst <span style='color:#111;'> 78B </span>","children":null,"spread":false},{"title":"algorithm.rst <span style='color:#111;'> 93B </span>","children":null,"spread":false},{"title":"visualization.rst <span style='color:#111;'> 103B </span>","children":null,"spread":false},{"title":"boundingbox.rst <span style='color:#111;'> 110B </span>","children":null,"spread":false}],"spread":false},{"title":"private.rst <span style='color:#111;'> 133B </span>","children":null,"spread":false},{"title":"observers","children":[{"title":"message.rst <span style='color:#111;'> 92B </span>","children":null,"spread":false},{"title":"subject.rst <span style='color:#111;'> 92B </span>","children":null,"spread":false},{"title":"voronoi_observer.rst <span style='color:#111;'> 106B </span>","children":null,"spread":false},{"title":"debug_observer.rst <span style='color:#111;'> 97B </span>","children":null,"spread":false},{"title":"tree_observer.rst <span style='color:#111;'> 94B </span>","children":null,"spread":false},{"title":"observer.rst <span style='color:#111;'> 100B </span>","children":null,"spread":false}],"spread":false},{"title":"observers.rst <span style='color:#111;'> 83B </span>","children":null,"spread":false},{"title":"pages","children":[{"title":"installation.rst <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"quickstart.rst <span style='color:#111;'> 5.51KB </span>","children":null,"spread":false}],"spread":false},{"title":"private","children":[{"title":"site_event.rst <span style='color:#111;'> 100B </span>","children":null,"spread":false},{"title":"arc.rst <span style='color:#111;'> 69B </span>","children":null,"spread":false},{"title":"circle_event.rst <span style='color:#111;'> 109B </span>","children":null,"spread":false},{"title":"breakpoint.rst <span style='color:#111;'> 91B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明