public class UnaryUnionNG extends Object
OverlayNG
to ensure robust computation.
This class is most useful for performing UnaryUnion using
a fixed-precision model.
For unary union using floating precision,
OverlayNGRobust.union(Geometry) should be used.
OverlayNGRobust| Modifier and Type | Method and Description |
|---|---|
static Geometry |
union(Collection<Geometry> geoms,
GeometryFactory geomFact,
PrecisionModel pm)
Unions a collection of geometries
using a given precision model.
|
static Geometry |
union(Collection<Geometry> geoms,
PrecisionModel pm)
Unions a collection of geometries
using a given precision model.
|
static Geometry |
union(Geometry geom,
PrecisionModel pm)
Unions a geometry (which is often a collection)
using a given precision model.
|
public static Geometry union(Geometry geom, PrecisionModel pm)
geom - the geometry to unionpm - the precision model to usepublic static Geometry union(Collection<Geometry> geoms, PrecisionModel pm)
geoms - the collection of geometries to unionpm - the precision model to usepublic static Geometry union(Collection<Geometry> geoms, GeometryFactory geomFact, PrecisionModel pm)
geoms - the collection of geometries to uniongeomFact - the geometry factory to usepm - the precision model to useCopyright © 2024. All rights reserved.