Class GeometryCombiner
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.geom.GeometryCombiner
-
public class GeometryCombiner extends Object
-
-
Constructor Summary
Constructors Constructor Description GeometryCombiner(GeometryFactory geomFactory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
GeometryCombiner
public GeometryCombiner(GeometryFactory geomFactory)
-
-
Method Detail
-
addPolygonRing
public Geometry addPolygonRing(Geometry orig, Coordinate[] pts)
-
addLineString
public Geometry addLineString(Geometry orig, Coordinate[] pts)
-
addPoint
public Geometry addPoint(Geometry orig, Coordinate pt)
-
addHole
public Polygon addHole(Polygon poly, LinearRing hole)
-
-