Calculates the third side length of a triangle (either the hypotenuse or the second leg) given two side lengths with the Pythagorean theorem.
The first side length
The second side length
Optional
The type of calculation, either "hyp" for hypotenuse or "leg" for leg
Generated using TypeDoc
Calculates the third side length of a triangle (either the hypotenuse or the second leg) given two side lengths with the Pythagorean theorem.