distance


Description:

public double distance (int x0, int y0, int x1, int y1)

Calculate the distance between two points

Parameters:

x0

The x coordinate of the first point

y0

The y coordinate of the first point

x1

The x coordinate of the second point

y1

The y coordinate of the second point

Returns:

the distance between the two points


Namespace: Geda3.Coord
Package: Gschem3