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