Utils Module
- pode.utils.cut(contour: Contour, start: Point, end: Point) List[Point]
Returns all points between the start point and the end point lying on the counter including the endpoints themselves. The points do not necessarily match with contour vertices.
- pode.utils.joined_constrained_delaunay_triangles(polygon: Polygon, *, extra_points: Sequence[Point] = (), extra_constraints: Sequence[Segment] = (), context: Context) List[Contour]
Joins polygons to form convex parts of greater size
- pode.utils.splitter_point(requirement: float, pivot: Point, low_area_point: Point, high_area_point: Point) Point
Alternative to bisection search since we always have triangles