com.vividsolutions.jtsexample.technique
Class LineStringSelfIntersections

java.lang.Object
  extended by com.vividsolutions.jtsexample.technique.LineStringSelfIntersections

public class LineStringSelfIntersections
extends Object

Shows a technique for identifying the location of self-intersections in a non-simple LineString.

Version:
1.7

Constructor Summary
LineStringSelfIntersections()
           
 
Method Summary
static Geometry getEndPoints(Geometry g)
           
static Geometry lineStringSelfIntersections(LineString line)
           
static void main(String[] args)
           
static void showSelfIntersections(LineString line)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineStringSelfIntersections

public LineStringSelfIntersections()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

showSelfIntersections

public static void showSelfIntersections(LineString line)

lineStringSelfIntersections

public static Geometry lineStringSelfIntersections(LineString line)

getEndPoints

public static Geometry getEndPoints(Geometry g)


Copyright © 2012. All Rights Reserved.