Computes an approximate medial axis of a polygonal geometry. The medial axis is a representation of the “centerline” or “skeleton” of the polygon. This function first computes the straight skeleton and then prunes insignificant branches to produce a cleaner result. The pruning removes small branches that represent minor penetrations into corners. A branch is pruned if its penetration depth is less than 20% of the width of the corner it bisects. This function may have significant performance limitations when processing polygons with a very large number of vertices. For very large polygons (e.g., 10,000+ vertices), applying vertex reduction or simplification is essential to achieve practical computation times.Documentation Index
Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
Use this file to discover all available pages before exploring further.
Signatures
Parameters
The input geometry.
Return type
The resulting geometry.

