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.4.0.tar.gz
(32.5 kB
view hashes)
Built Distribution
Close
Hashes for extremitypathfinder-2.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a948b2f3882b0cb7214fd09fe92038a7bd6c95f2360bb89735c09a1291bfb518 |
|
MD5 | f6431164e472b7092c9c665d5bb61987 |
|
BLAKE2b-256 | ca3dfbd864355102bab7f16d3465c5c0e3e3587d7f4180fbc9c783c082c92208 |
Close
Hashes for extremitypathfinder-2.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f167156ffa3d04511becc39dabb6fbaf29884a790290e038a6f5e49d9cfad89 |
|
MD5 | 525330071a32ff75df4c1329468f4a5d |
|
BLAKE2b-256 | 56ed50a2bdd23b11ab09ef65de42acc488835bcabfcf8fd89029feb4b02afeb0 |