Returns a generator function that checks for intersections with a static set of lines. The generator yields values of { distance: number, line: PolarLine }. Lines which have no intersecton are not returned.
{ distance: number, line: PolarLine }
const c = intersectionDistanceCompute(line1, line2, line3);// Get all results for angle 0.2 as an arrayconst computed = [...c.compute(0.2)]// Sort array by distance (ascending)computed.sort((a, b) => a.distance - b.distance); Copy
const c = intersectionDistanceCompute(line1, line2, line3);// Get all results for angle 0.2 as an arrayconst computed = [...c.compute(0.2)]// Sort array by distance (ascending)computed.sort((a, b) => a.distance - b.distance);
Returns a generator function that checks for intersections with a static set of lines. The generator yields values of
{ distance: number, line: PolarLine }. Lines which have no intersecton are not returned.