MathHelperHypotenuse Method |
Returns the length of the hypotenuse of a right angle triangle
given the length of the opposite and adjacent sides.
Namespace: Dundas.BI.UtilityAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntaxpublic static double Hypotenuse(
double a,
double b
)
Public Shared Function Hypotenuse (
a As Double,
b As Double
) As Double
public:
static double Hypotenuse(
double a,
double b
)
static member Hypotenuse :
a : float *
b : float -> float Parameters
- a Double
- The length of the first side of the right angle triangle.
- b Double
- The length of the second side of the right angle triangle.
Return Value
DoubleThe length of the hypotenuse.
See Also