Hello
I`m completely new to
Java and in big trouble with the following exercise.
Using JTS Topology Suite and Eclipse, I`m supposed to run a certain program to create 3 lines (LineString; a, b, c) with the coordinates (x,y) and as a result to find out which lines intersect the first line a.
This is what have:
I don`t know how I could create three separate lines, each line a, b and c has 3 pairs of x,y coordinates. I think here I am creating just one big line with all the coordinates.
If understand correctly this is the command that is actually taking x,y coordinates from above and joining it for a line, right?
Since I`m supposed to have 3 lines, should I amend it or copy 3x somehow?
Any help much appreciated!!!