byteface / domonic

Create HTML with python 3 using a standard DOM API. Includes a python port of JavaScript for interoperability and tons of other cool features. A fast prototyping library.
https://domonic.readthedocs.io/
MIT License
129 stars 13 forks source link

D3_polygon #53

Closed FrackOverflow closed 2 years ago

FrackOverflow commented 2 years ago

Added tests for Polygon Centroid and Hull Refactored Polygon Hull algorithm to take advantage of Python features, uses same base algorithm but shorter and executes under the expected time complexity. Added type hints to polygon methods