Package-level declarations
Functions
Link copied to clipboard
fun List<Pair<Double, Double>>.simplify(tolerance: Double = 1.0, highestQuality: Boolean = false): List<Pair<Double, Double>>
For a List of Pair
inline fun <T> List<T>.simplify(tolerance: Double = 1.0, highestQuality: Boolean = false, crossinline xExtractor: (T) -> Double, crossinline yExtractor: (T) -> Double, crossinline xTransformer: (Double) -> Double = { it }, crossinline yTransformer: (Double) -> Double = { it }): List<T>
For a List