Polygon-lite

Latest version: v0.1.4

Safety actively analyzes 629639 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.0.8.1

You can now use "==" and "!=" for comparing Edge objects. Based on 1.

0.0.8

New Features!
- Edge.project_point(point) -> Point

0.0.7

0.0.5

New Features!

- polygon.contains(point)
- edge.intersect(anotherEdge)


On Edge objects, you can:
- edge.angle_between(anotherEdge)
- edge.is_parallel(anotherEdge)
- edge.on_segment(point)
- edge.slope()
- edge.length()
- edge.vector()



On Point objects, you can:
- point.distance(anotherPoint)
- point.project(edge)


More methods are coming soon, and examples will also be updated soon.

0.0.4

This release has powerful classes for Edge and Point.

0.0.3

This release is not meant for production usage for anybody. This is for test purposes only.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.