nearestPoint

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

Return

the t parameter representing the closest point on the curve, not necessarily within 0,1

Parameters

p

a point in 2D space