Provides bindings to the C++ WeightMap class.
- enum
BorderPlace
:- TOP
- BOTTOM
- RIGHT
- LEFT
- function
compress_path
- function
is_path_continuous
- function
smooth_path
- class
WeightMap
- methods:
- get_weight
- set_weight
- get_path
- path_to_x
- add_border
- add_obstical
- is_valid_point
- get_weights
- from_bytes
- bytes
- str
- setstate
- getstate
- properties:
- width
- height
- max_value
- static properties:
- max_weight
- min_weight
- methods:
- Manual:
- Download this repository
- Navigate to the top level of the repository
- Execute
pip install ./
- Pip and git installed:
pip install git+https://github.com/Cardinal-Space-Mining/PyWeightmap.git
- Only pip installed
pip install https://github.com/Cardinal-Space-Mining/PyWeightmap/tarball/master
- Download source code.
- Navigate to the docs directory
- Run
make html
- Open
./docs/_build/html/PyWeightMap.html