public class GeometryCombiner extends Object
Constructor and Description |
---|
GeometryCombiner(GeometryFactory geomFactory) |
Modifier and Type | Method and Description |
---|---|
Polygon |
addHole(Polygon poly,
LinearRing hole) |
Geometry |
addLineString(Geometry orig,
Coordinate[] pts) |
Geometry |
addPoint(Geometry orig,
Coordinate pt) |
Geometry |
addPolygonRing(Geometry orig,
Coordinate[] pts) |
Geometry |
combine(Geometry orig,
Geometry geom) |
static List |
extractElements(Geometry geom,
boolean skipEmpty) |
static Geometry |
replace(Geometry parent,
Geometry original,
Geometry replacement) |
public GeometryCombiner(GeometryFactory geomFactory)
public Geometry addPolygonRing(Geometry orig, Coordinate[] pts)
public Geometry addLineString(Geometry orig, Coordinate[] pts)
public Geometry addPoint(Geometry orig, Coordinate pt)
public Polygon addHole(Polygon poly, LinearRing hole)
Copyright © 2018. All rights reserved.