Package org.locationtech.udig.tools.geometry.split

Examples of org.locationtech.udig.tools.geometry.split.SplitStrategy.split()


    final SplitStrategy splitOp = new SplitStrategy(splitLine);
    List<Geometry> splitResult = new ArrayList<Geometry>();

    if (splitOp.canSplit(geomTosplit)) {

      splitResult = splitOp.split(geomTosplit);
    }
    return splitResult;
  }

View Full Code Here


  }

  private List<Geometry> testSplitResults(Geometry splitee, LineString splitter) {

    SplitStrategy strategy = new SplitStrategy(splitter);
    List<Geometry> splitted = strategy.split(splitee);

    assertNotNull(splitted);

    Geometry union = null;
    for (int i = 0; i < splitted.size(); i++) {
View Full Code Here

    final SplitStrategy splitOp = new SplitStrategy(splitter);
    List<Geometry> geomSplit = new ArrayList<Geometry>();

    if (splitOp.canSplit(splitee)) {

      geomSplit = splitOp.split(splitee);

    }

    return geomSplit;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.