isLocationOnPath static method

bool isLocationOnPath(
  1. Point<num> point,
  2. List<Point<num>> polyline,
  3. bool geodesic
)

Same as {@link #isLocationOnPath(Point, List, bool, double)}

with a default tolerance of 0.1 meters.

Implementation

static bool isLocationOnPath(
        Point point, List<Point> polyline, bool geodesic) =>
    isLocationOnPathTolerance(point, polyline, geodesic, _defaultTolerance);