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.

ParallelLine

ParallelLine



Calculates the points to form a new line parallel line offset Distance from the original, specified by p1 and p2, then returns the new points in variables p3 and p4.



Syntax:

Procedure: ParallelLine(p1x, p1y, p2x, p2y, Distance: Double; var p3x: Double; var p3y: Double; var p4x: Double; var p4y: Double);


API Call:

Scripting
var
  p3x, p3y, p4x, p4y: double;

begin
  parallelline(10, 10, 100, 100, 10, p3x, p3y, p4x, p4y); 
end;

Copyright 2023 ConstructConnect