To open any link in a new tab, preserving your position in the current article, just hold down the <CTRL> key on your keyboard before clicking the link or click using your mouse wheel.

Math Functions - DistanceFromLine - FD

Math Functions - DistanceFromLine

Returns the distance of a point given by p3 is from a line, given by p1 and p2.

Declaration:

DistanceFromLine(p1x, p1y, p2x, p2y, p3x, p3y: Double): Double;

Source Code

Delphi

Scripting
Result := DistanceFromLine(10, 10, 100, 100, 45, 45);

Copyright 2023 ConstructConnect