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.Utility
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax public 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
- Type: SystemDouble
The length of the first side of the right angle triangle. - b
- Type: SystemDouble
The length of the second side of the right angle triangle.
Return Value
Type:
DoubleThe length of the hypotenuse.
See Also