Skip to content

smidm/shape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2b0d030 · Apr 25, 2022

History

35 Commits
Apr 25, 2022
Apr 25, 2022
Dec 27, 2021
Apr 25, 2022
Dec 27, 2021
Apr 25, 2022
Apr 25, 2022
Apr 25, 2022
Dec 27, 2021
Apr 25, 2022
Apr 25, 2022
Apr 25, 2022

Repository files navigation

Build Status

shape is a Python package for 2D shapes handling.

Features

  • objects:
    • abstract shape
    • point
    • polygon
    • bounding box
    • rotated bounding box
    • ellipse
  • relations: intersection, closeness
  • manipulation: move and rotate
  • visualization using matplotlib

Installation

pip install shape

Documentation

See tests for now.

Alternatives

https://github.com/varunagrawal/bbox

  • bounding box only
  • lightweight

https://github.com/shapely/shapely

  • complex
  • based on C++ GEOS library

About

2D shapes abstraction Python package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published