PythagoreanFindHypotenuse Method Mathos Core Library 1.0.5.1 (changeset 39720)
This documentation is compiled for the latest release of Mathos Core Library
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

public static double FindHypotenuse(
	double side1,
	double side2
)

Parameters

side1
Type: SystemDouble
Length of the first side
side2
Type: SystemDouble
Length of the second side

Return Value

Type: Double
Length of the hypotenuse
Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionThrown when invalid side lengths are input
See Also

Reference