ExtendLine function
Prototype: |
function ExtendLine(var X1_,Y1_,X2_,Y2_ :double; const Addition_ :double; const Mode_ :integer) :boolean; |
|
Description: |
Lengthens a line defined by 2 points. The lengthening is added before the first point or after the second point based on the mode. |
|
Syntax: |
variable:= ExtendLine(X1, Y1, X2, Y2, Addition, Mode); |
|
Part |
Description |
|
variable |
variable declared as a Boolean |
|
X1, Y1 |
coordinates if the first point of the line |
|
X2, Y2 |
coordinates if the second point of the line |
|
Addition |
length of the lengthening |
|
Mode |
Mode = 1 -> The lengthening is added before the first point Mode = 2 -> The lengthening is added after the second point |
|
Return value: |
True if the lengthening was successful |
|
See also:
ExtendLine; CombinePolygons; IntersectPolygons; FindLineIntersects; Distance; PolarToXY; Polar2XY; XYtoPolar; XY2polar
© 2024 IFER-Monitoring and Mapping Solutions