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.2.1.tar.gz
(34.5 kB
view hashes)
Built Distribution
Close
Hashes for extremitypathfinder-2.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 247733dc67acec7607cfd7d402b48f5c8866cad9e8be1f10c77671dee19db894 |
|
MD5 | b5b3f331b6448dfc2194628ad64c5234 |
|
BLAKE2b-256 | 318d91aad8308b4d86515c82ec52dfbba0d2726fb03ef7e31eb3404175b517c8 |
Close
Hashes for extremitypathfinder-2.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 121cdee822508fc5b7484759da8df7b84d251ad7118bd3ed37fc5762ac73cf69 |
|
MD5 | 96256eeb3cd46383c0adab5dd5f92898 |
|
BLAKE2b-256 | c61c6600f012373549ede2b27c2e0547dee32ca471cdf5781d712d07650fe151 |