Skip to content

Cardinal-Space-Mining/PyWeightmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyWeightmap

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

Installation

  • Manual:
    1. Download this repository
    2. Navigate to the top level of the repository
    3. Execute pip install ./
  • Pip and git installed:
    1. pip install git+https://github.com/Cardinal-Space-Mining/PyWeightmap.git
  • Only pip installed
    1. pip install https://github.com/Cardinal-Space-Mining/PyWeightmap/tarball/master

Documentation

  1. Download source code.
  2. Navigate to the docs directory
  3. Run make html
  4. Open ./docs/_build/html/PyWeightMap.html

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published