com.vividsolutions.jtsexample.technique
Class PolygonUnionUsingBuffer
java.lang.Object
com.vividsolutions.jtsexample.technique.PolygonUnionUsingBuffer
Deprecated. It is now recommended to use Geometry.union() (unary union) instead of this technique.
public class PolygonUnionUsingBuffer
- extends Object
Shows a technique for using a zero-width buffer to compute
the union of a collection of polygonal geometrys.
The advantages of this technique are:
- can avoid robustness issues
- faster for large numbers of input geometries
- handles GeometryCollections as input (although only the polygons will be buffered)
Disadvantages are:
- may not preserve input coordinate precision in some cases
- only works for polygons
- Version:
- 1.7
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolygonUnionUsingBuffer
public PolygonUnionUsingBuffer()
- Deprecated.
main
public static void main(String[] args)
throws Exception
- Deprecated.
- Throws:
Exception
unionUsingBuffer
public static void unionUsingBuffer(Geometry[] geom)
- Deprecated.
Copyright © 2012. All Rights Reserved.