Calculates the length of the hypotenuse of a right triangle, given the length of the two sides x and y (in other words, the square root of x2 + y2).
Rhino.Hypot (dblX, dblY)
dlbX |
Required. Number. The x value. |
dblY |
Required. Number. The y value. |
Number |
The length of the hypotenuse if successful. |
Null |
If not successful, or on error. |
MsgBox Rhino.Hypot(3.0, 4.0)