UtilitiesFunctionsclosestPointIndexToCursorVersion: NextclosestPointIndexToCursor CallableclosestPointIndexToCursor(cursor: Point2D, points: readonly Point2D[]): numberParameterscursor: Point2Dpoints: readonly Point2D[]Returns number