nearestPoint

open override fun nearestPoint(p: Vec2): Double(source)

This quintic solver is adapted from https://github.com/Chlumsky/msdfgen, which is available under the MIT license.