ixfx
    Preparing search index...
    • Converts a polar coordinate to a Line.

      const line = toLine({ angleRadian: Math.Pi, distance: 0.5 }, { x: 0.2, y: 0.1 });
      // Yields { a: { x, y}, b: { x, y } }

      The 'start' parameter is taken to be the origin of the Polar coordinate.

      Parameters

      Returns { a: Point; b: Point }