Function xyObjectMaxXPoint

  • Finds the max x value and return a {x,y,index} point

    Parameters

    • points: Point[] = []

      Object that contains property x (an ordered increasing array) and y (an array)

    Returns Point