locationIndexOnPathTolerance method

int locationIndexOnPathTolerance(
  1. Point<double> point,
  2. List<Point<double>> poly,
  3. bool geodesic,
  4. double tolerance,
)

Segment index of point on poly with custom tolerance, or -1.

Implementation

int locationIndexOnPathTolerance(Point<double> point,
        List<Point<double>> poly, bool geodesic, double tolerance) =>
    PolyUtils.locationIndexOnPathTolerance(point, poly, geodesic, tolerance);