A geometry data and functions library inspired by thi.ng/geom
GEOM is split into multiple sub-packages
A collection of data forward geometry shapes (rectangle, circle, polygon)
- Arc
- Circle
- Cubic
- Ellipse
- Grid
- Line
- Point
- Polygon
- Rect
- Triangle
Functions that take data (from
geom.data
) and perform geometric related algorithms on them (i.e. resample, find bounds, etc)
-
vertices
-
as_polygon
-
area
-
bounds
-
centroid
-
contains
-
point_at
-
point_inside
-
intersects
-
rotate
-
scale
-
translate
-
scatter_pts
-
resample
-
split_at
-
triangulate ???
-
convex_hull ???
-
edges ???
Mathmatical helper functions
This repo is meant to be grown test first. New functionality should be created using tests to define the shape and usage thereof.
Using pytest
$ pytest