hypot

Syntax

double hypot(double fx, double fy)

Arguments

fx
First distance.
fy
Second distance.

Return

The euclidean distance of the two parameters.

Description

Calculates the hypothenuse (euclidean distance):

The distance between the endpoint of two adjacent perpendicular distances.

Solves Pythagoras formula; distance =sqrt( pow( fx, 2.0) +pow( fy, 2.0));

ATTENTION! works extremely slow! Use it only for an occasional calculation!