This documentation is compiled for the latest release of Mathos Core Library
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
 
Length of the hypotenuse
 
 
            Static method that returns the hypotenuse given two sides of a right triangle
            
Namespace: Mathos.Geometry
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax
Parameters
- side1
 - Type: SystemDouble
Length of the first side - side2
 - Type: SystemDouble
Length of the second side 
Return Value
Type: DoubleLength of the hypotenuse
Exceptions
| Exception | Condition | 
|---|---|
| ArgumentOutOfRangeException | Thrown when invalid side lengths are input | 
See Also