nearest

open fun nearest(query: Vector2): Int(source)

Index into points of the point nearest to query.