protected override IGeometry IndicesOfThenExtract(IGeometry input, IGeometry subLine)
 {
     LocationIndexedLine indexedLine = new LocationIndexedLine(input);
     LinearLocation[] loc = indexedLine.IndicesOf(subLine);
     IGeometry result = indexedLine.ExtractLine(loc[0], loc[1]);
     return result;
 }
 private void RunExtractLine(String wkt, LinearLocation start, LinearLocation end, String expected)
 {
     IGeometry geom = Read(wkt);
     LocationIndexedLine lil = new LocationIndexedLine(geom);
     IGeometry result = lil.ExtractLine(start, end);
     //System.out.println(result);
     CheckExpected(result, expected);
 }