com.vividsolutions.jtsexample.geom
Class SimpleMethodsExample

java.lang.Object
  extended by com.vividsolutions.jtsexample.geom.SimpleMethodsExample

public class SimpleMethodsExample
extends Object

An example showing a simple use of JTS methods for:

The expected output from this program is:

 ----------------------------------------------------------
 A = POLYGON ((40 100, 40 20, 120 20, 120 100, 40 100))
 B = LINESTRING (20 80, 80 60, 100 140)
 A intersection B = LINESTRING (40 73.33333333333334, 80 60, 90 100)
 A relate C = 1F20F1102
 ----------------------------------------------------------
 

Version:
1.7

Constructor Summary
SimpleMethodsExample()
           
 
Method Summary
static void main(String[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMethodsExample

public SimpleMethodsExample()
Method Detail

main

public static void main(String[] args)

run

public void run()
         throws ParseException
Throws:
ParseException


Copyright © 2012. All Rights Reserved.