Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

DistanceBetweenPoints


...

Returns the distance between 2 points specified by p1 and p2 coordinates.

...

Procedure: DistanceBetweenPoints(p1X, p1Y, p2X, p2Y: Double): Double;


API Call:

Code Block
languagedelphi
titleScripting
linenumberstrue
collapsetrue
Result := DistanceBetweenPoints(10, 10, 100, 100);