Package-level declarations
Types
Functions
Link copied to clipboard
fun medialAxis(shape: Shape, diagram: ConstrainedVoronoiDiagram, fitTolerance: Double? = null, pruneLength: Double? = null): MedialAxis
Computes the medial axis of shape from diagram, a ConstrainedVoronoiDiagram of a linear simplification of shape whose vertices lie on the boundary of shape (and no interior points).
Link copied to clipboard
fun Shape.medialAxis(samplingDistance: Double = 2.0, fitTolerance: Double = samplingDistance * 0.1, pruneLength: Double = samplingDistance * 2.0): MedialAxis
Computes the medial axis of this Shape.