com.vividsolutions.jump.geom
Class MaxPrecisionOverlayOp

java.lang.Object
  extended by com.vividsolutions.jump.geom.MaxPrecisionOverlayOp

public class MaxPrecisionOverlayOp
extends java.lang.Object

Increases the number of cases JTS overlay operations can handle without robustness errors by removing "excess" precision from the input geometries.


Nested Class Summary
 class MaxPrecisionOverlayOp.CoordinatePrecisionReducer
           
 
Constructor Summary
MaxPrecisionOverlayOp()
           
 
Method Summary
static double getMinInAbsValue(double x0, double x1)
           
 com.vividsolutions.jts.geom.Geometry intersection(com.vividsolutions.jts.geom.Geometry g0, com.vividsolutions.jts.geom.Geometry g1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxPrecisionOverlayOp

public MaxPrecisionOverlayOp()
Method Detail

getMinInAbsValue

public static double getMinInAbsValue(double x0,
                                      double x1)

intersection

public com.vividsolutions.jts.geom.Geometry intersection(com.vividsolutions.jts.geom.Geometry g0,
                                                         com.vividsolutions.jts.geom.Geometry g1)