raygeo.geo.algo.medial_axis

Medial axis of a rectangular pocket — skeleton from center to corners. Medial Axis Transform (MAT) computation.
The MAT is the skeleton of a 2D domain — the set of points equidistant to two or more boundary features. It is computed via Delaunay-get_circumcenter extraction from a constrained triangulation of the domain boundary.
MedialAxis.compute— compute the MAT of a domain (with optional holes).MedialAxis.path_between— find a path between two points along the skeleton.MedialAxis.trim_to_polygons— filter nodes to those inside given polygons.