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 PolygonaddHole(Polygon poly, LinearRing hole)GeometryaddLineString(Geometry orig, Coordinate[] pts)GeometryaddPoint(Geometry orig, Coordinate pt)GeometryaddPolygonRing(Geometry orig, Coordinate[] pts)Geometrycombine(Geometry orig, Geometry geom)static ListextractElements(Geometry geom, boolean skipEmpty)static Geometryreplace(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)
-
-