object


int Distance(int nX1, int nY1, int nX2, int nY2)

Scope: public

Parameters
nX1 - x-coordinate of the first point.
nY1 - y-coordinate of the first point.
nX2 - x-coordinate of the second point.
nY2 - y-coordinate of the second point.

Return values
Distance between (nX1, nY2) and (nX2, nY2) points.

Description

See also