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.
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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:

var
  p2x, p2y: double;

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