Function joinPointsToLines

Returns an array of lines that connects provided points. Note that line is not closed.

Eg, if points a,b,c are provided, two lines are provided: a->b and b->c.

import { Lines } from 'https://unpkg.com/ixfx/dist/geometry.js'
const lines = Lines.joinPointsToLines(ptA, ptB, ptC);
// lines is an array of, well, lines