public class SparsePolygonUnion extends Object
CascadedPolygonUnion algorithm.
It also has the advantage that it does not alter input geometries
which do not intersect any other input geometry.
Non-sparse sets will work, but may be slower than using cascaded union.
| Constructor and Description |
|---|
SparsePolygonUnion(Collection<org.locationtech.jts.geom.Geometry> polys) |
| Modifier and Type | Method and Description |
|---|---|
org.locationtech.jts.geom.Geometry |
union() |
static org.locationtech.jts.geom.Geometry |
union(Collection geoms) |
static org.locationtech.jts.geom.Geometry |
union(org.locationtech.jts.geom.Geometry geoms) |
public SparsePolygonUnion(Collection<org.locationtech.jts.geom.Geometry> polys)
public static org.locationtech.jts.geom.Geometry union(Collection geoms)
public static org.locationtech.jts.geom.Geometry union(org.locationtech.jts.geom.Geometry geoms)
public org.locationtech.jts.geom.Geometry union()
Copyright © 2021. All rights reserved.