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.

PointOnAngle

PointOnAngle



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



Syntax:

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


API Call:

Scripting
var
  p2x, p2y: double;

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

Copyright 2023 ConstructConnect