Package-level declarations
Functions
Link copied to clipboard
fun RectifiedContour.findLocalMaxima(samples: Int, windowSize: Double, f: ShapeContour.(Double) -> Double): List<LocalMaximum>
Finds local maxima of f sampled along RectifiedContour, using arc-length-uniform sampling so that windowSize (expressed as a fraction of curve length) means the same thing everywhere on the contour, regardless of how unevenly the original contour's segments are distributed.