Examples of extractPoint()


Examples of com.vividsolutions.jts.linearref.LocationIndexedLine.extractPoint()

    System.out.println("Have LocationIndexedLine: " + pline);
    System.out.println("Have start index: " + pline.getStartIndex());
    System.out.println("Have end index: " + pline.getEndIndex());
    System.out.println("Extracting point at start: " + pline.extractPoint(pline.getStartIndex()));
    System.out.println("Extracting point at end: " + pline.extractPoint(pline.getEndIndex()));
    System.out.println("Extracting point at start offset 0.5: " + pline.extractPoint(pline.getStartIndex(), 0.5));
    System.out.println("Extracting point at end offset 0.5: " + pline.extractPoint(pline.getEndIndex(), 0.5));
  }

  @Test
  public void testSnapping() throws Exception {
View Full Code Here

Examples of com.vividsolutions.jts.linearref.LocationIndexedLine.extractPoint()

    System.out.println("Have start index: " + pline.getStartIndex());
    System.out.println("Have end index: " + pline.getEndIndex());
    System.out.println("Extracting point at start: " + pline.extractPoint(pline.getStartIndex()));
    System.out.println("Extracting point at end: " + pline.extractPoint(pline.getEndIndex()));
    System.out.println("Extracting point at start offset 0.5: " + pline.extractPoint(pline.getStartIndex(), 0.5));
    System.out.println("Extracting point at end offset 0.5: " + pline.extractPoint(pline.getEndIndex(), 0.5));
  }

  @Test
  public void testSnapping() throws Exception {
    if (true)
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.