line4.add(new PositionImpl(tCoordFactory.createDirectPosition(new double[]{80, 30})));
line4.add(new PositionImpl(tCoordFactory.createDirectPosition(new double[]{50, 20})));
/* Setting up Array of these LineStrings */
ArrayList<CurveSegment> tLineList1 = new ArrayList<CurveSegment>();
tLineList1.add(tCoordFactory.createLineString(line1));
tLineList1.add(tCoordFactory.createLineString(line2));
ArrayList<CurveSegment> tLineList2 = new ArrayList<CurveSegment>();
tLineList2.add(tCoordFactory.createLineString(line3));
tLineList2.add(tCoordFactory.createLineString(line4));