Given point pt, returns a list of WaypointResult, comparing this point to a set of paths.
pt
// Init once with a set of pathsconst w = init(paths);// Now call with a point to get resultsconst results = w({ x: 10, y: 20 }); Copy
// Init once with a set of pathsconst w = init(paths);// Now call with a point to get resultsconst results = w({ x: 10, y: 20 });
Given point
pt
, returns a list of WaypointResult, comparing this point to a set of paths.