Returns the lengths of the hypotenuse split into p and q segments. In other words, if one makes a line from the right-angle vertex down to hypotenuse.

See here

  • Parameters

    Returns readonly [number, number]