ixfx
    Preparing search index...

    Function extendFromA

    • Returns a line extended from its a point by a specified distance

      import { Lines } from 'https://unpkg.com/ixfx/dist/geometry.js'
      const line = {a: {x: 0, y:0}, b: {x:10, y:10} }
      const extended = Lines.extendFromA(line, 2);

      Parameters

      Returns Geometry.Line

      Newly extended line