Function shortestEdge

  • Compute the shorest edge corresponding to the given equally tempered difference.

    Parameters

    • step: number

      Difference between two equally tempered scale degrees.

    • options: GridOptions

      Options for grid geometry.

    Returns number[]

    Array of horizontal and vertical screen coordinates of the shortest edge found.