Last updated:
0 purchases
polyprops 1.0.2
polyprops
polyprops is a Python package written in Rust used for the analysis of polygon properties with a focus on performance.
Features
Fast and efficient calculation of polygon properties using algorithms written in Rust
Installation
Install polyprops with pip:
pip install polyprops
Usage/Examples
import polyprops as pp
# Create a polygon
polygon = pp.Polygon([
0, 0,
10, 0,
10, 10,
])
# Calculate the area
area = polygon.area()
# Calculate the centroid
centroid = polygon.centroid()
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.