python package implementing a multivariate Horner scheme for efficiently evaluating multivariate polynomials
Project description
python package for fast geometric shortest path computation in 2D multi-polygon or grid environments based on visibility graphs.
Quick Guide:
pip install extremitypathfinder
from extremitypathfinder import PolygonEnvironment
environment = PolygonEnvironment()
# counter clockwise vertex numbering!
boundary_coordinates = [(0.0, 0.0), (10.0, 0.0), (9.0, 5.0), (10.0, 10.0), (0.0, 10.0)]
# clockwise numbering!
list_of_holes = [
[
(3.0, 7.0),
(5.0, 9.0),
(4.5, 7.0),
(5.0, 4.0),
],
]
environment.store(boundary_coordinates, list_of_holes, validate=False)
environment.prepare()
start_coordinates = (4.5, 1.0)
goal_coordinates = (4.0, 8.5)
path, length = environment.find_shortest_path(start_coordinates, goal_coordinates)
For more refer to the documentation.
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
extremitypathfinder-2.3.0.tar.gz
(35.3 kB
view hashes)
Built Distribution
Close
Hashes for extremitypathfinder-2.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b7ca0649daf612744765058fdbc49f419207b2c199d06ace76cba0f833986d5 |
|
MD5 | b48f74c2104725f9589e17d263f9038c |
|
BLAKE2b-256 | 363c23ac1f6b399dad8f92356bf810f89201ad5cf1006803663a1d4a5388a816 |
Close
Hashes for extremitypathfinder-2.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 088686cf6779f076d66785cd1e971c9f78e8d4db87be8d1af5ac75d1f189da7b |
|
MD5 | b1608e7421c70b236e1d6f45e00ebdc9 |
|
BLAKE2b-256 | 61548fba5626de7a009dbbea1f4442cc3adfc33c2c46cf3c38a8223a3886d76b |