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 - PointOnAngle - FD

Math Functions - PointOnAngle

Calculates a new point given by p1 a given Distance and Angle then returns the result point in p2.

Declaration:

PointOnAngle(p1x, p1y, Angle, Distance: Double; var p2x: double; var p2y: double);

Source Code

Delphi

Scripting
var
  p2x, p2y: double;

begin
  PointOnAngle(10, 10, 45, 20, p2x, p2y);
end;

Copyright 2023 ConstructConnect