How to double the length of the line from the end point .
Thanks,
How to double the length of the line from the end point .
Thanks,
If the line is a single line segment, use the LengthCalculator to get the length and the Extender (End port) to create extended part.
And then, connect the extended part to the original line using the LineJoiner, if necessary.
Hope this helps.
Takashi
Thanks ,
I think Gio's method is: for the copied line, extract end point coordinate (x, y) with the CoordinateExtractor (Index: 1), and move the line by (x, y) with the Offsetter.
Anothor approach.
1) Extract start point coordinate (x, y) with the CoordinateExtractor (Index: 0).
2) Move the original line with the Offsettor (X Offset: -x, Y Offset: -y), so that the start point matches with origin (0, 0).
3) Extend the line with the Scaler (X: 2, Y: 2, Scale Origion: 0,0).
4) Move the extended line to the original location with the 2nd Offsetter (X Offset: x, Y Offset: y).
Takashi