Constrainted Delaunay Triangle for path-planning
Project description
使用约束Delaunay三角来寻路
Using Constrained Delaunay Triangle for path-planning
功能特点 Features
三角剖分支持 Triangulation Support:
库提供了对二维空间中的点集进行三角剖分的功能,这些三角形可以作为寻路的基础网格。
自主实现了Delaunay三角剖分的外增量算法,以及各种凸包算法。
支持调用triangle库以实现约束Delaunay三角剖分或者“约束一致的Delaunay三角剖分”以及其他剖分方式。
The library supports triangulating a set of points in 2D space, and the resulting triangular grid can serve as the basis for pathfinding.
The library independently implements the incremental algorithm for Delaunay triangulation and is compatible with various convex hull algorithms.
Additionally, the library provides the ability to call the triangle library to achieve constrained Delaunay triangulation or "constrained conforming Delaunay triangulation" and other triangulation methods.
高效寻路算法 Efficient Pathfinding Algorithm:
基于三角剖分的网格,库实现了A*算法,能够快速找到两点之间的三角形通路。
自研快速漏斗算法,以在三角形通路中找到具体直线段路径。
同时保留了简单漏斗算法,用以测试比较。
Based on the triangular grid, the library integrates the A* algorithm to quickly find a triangular path between two points.
The library also develops a fast funnel algorithm to determine the specific line segment path within the triangular path.
障碍物标记 Obstacle Marking:
以平面直线图刻画障碍物,库内部支持画图功能,支持将绘制的平面直线图保存为json格式。 同时支持用户自定义扩展格式。
The library supports using planar line graphs to depict obstacles and has built-in drawing functionality that allows saving the drawn planar line graphs in JSON format. It also supports user-defined extended formats
接口友好 User-friendly Interface:
提供了易于使用的API接口,方便开发者集成到项目中。
The library provides concise and easy-to-use API interfaces, making it convenient for developers to integrate into their projects.
快速使用 Quick start:
pip install cdt_path
import cdt_path.demo #尝试用鼠标左键点击,对功能的直观认识
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cdt_path-2.2.4.tar.gz
.
File metadata
- Download URL: cdt_path-2.2.4.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 342bd9516af2f6b416ee4df41b6e886d621b0082982ce8596b565e489d1913fa |
|
MD5 | d7cc524cf55ef3a3d600410988c1aecc |
|
BLAKE2b-256 | 3e97800e54ab35552e1a2fe8e8f1904de724b32e28041ea5937f13074b98e2cf |
File details
Details for the file cdt_path-2.2.4-py3-none-any.whl
.
File metadata
- Download URL: cdt_path-2.2.4-py3-none-any.whl
- Upload date:
- Size: 31.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce3b1c5b1a6ae8f13c9bdfb0c275120468767ce1822b4ba4fa973d35bc858159 |
|
MD5 | d7c8fe412fb5c83f196b6664792a4781 |
|
BLAKE2b-256 | b9f7edc2977e05c2ae4f6f1e51759c6659e529ac4fc1f0704e3767d5b0e75758 |