Type Alias Waypoints

Waypoints: ((pt: Point) => WaypointResult[])

Given point pt, returns a list of WaypointResult, comparing this point to a set of paths.

// Init once with a set of paths
const w = init(paths);
// Now call with a point to get results
const results = w({ x: 10, y: 20 });