Function fromPointsToPath

Returns a LinePath from two points

import { Lines } from 'https://unpkg.com/ixfx/dist/geometry.js'
const path = Lines.fromPointsToPath(ptA, ptB);