public class GeometryEditor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
GeometryEditor.GeometryEditorOperation |
Constructor and Description |
---|
GeometryEditor() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsReference(java.util.Collection collection,
java.lang.Object o) |
com.vividsolutions.jts.geom.Geometry |
deleteVertices(com.vividsolutions.jts.geom.Geometry geometry,
java.util.Collection vertices)
Deletes the given vertices (matched using ==, not #equals).
|
com.vividsolutions.jts.geom.Geometry |
edit(com.vividsolutions.jts.geom.Geometry geometry,
GeometryEditor.GeometryEditorOperation operation) |
com.vividsolutions.jts.geom.Geometry |
insertVertex(com.vividsolutions.jts.geom.Geometry geometry,
com.vividsolutions.jts.geom.Coordinate existing1,
com.vividsolutions.jts.geom.Coordinate existing2,
com.vividsolutions.jts.geom.Coordinate v)
Inserts v on the line segment with endpoints equal to existing1 and existing2
|
com.vividsolutions.jts.geom.Geometry |
insertVertex(com.vividsolutions.jts.geom.Geometry geometry,
com.vividsolutions.jts.geom.Coordinate target,
com.vividsolutions.jts.geom.Geometry ignoreSegmentsOutside)
The vertex will be inserted at the point closest to the target.
|
com.vividsolutions.jts.geom.Geometry |
remove(com.vividsolutions.jts.geom.Geometry g,
com.vividsolutions.jts.geom.Geometry itemToRemove) |
com.vividsolutions.jts.geom.Geometry |
removeRepeatedPoints(com.vividsolutions.jts.geom.Geometry geometry)
The input and output Geometries may share some Coordinate arrays.
|
public com.vividsolutions.jts.geom.Geometry edit(com.vividsolutions.jts.geom.Geometry geometry, GeometryEditor.GeometryEditorOperation operation)
public com.vividsolutions.jts.geom.Geometry removeRepeatedPoints(com.vividsolutions.jts.geom.Geometry geometry)
public com.vividsolutions.jts.geom.Geometry remove(com.vividsolutions.jts.geom.Geometry g, com.vividsolutions.jts.geom.Geometry itemToRemove)
public com.vividsolutions.jts.geom.Geometry insertVertex(com.vividsolutions.jts.geom.Geometry geometry, com.vividsolutions.jts.geom.Coordinate target, com.vividsolutions.jts.geom.Geometry ignoreSegmentsOutside)
public com.vividsolutions.jts.geom.Geometry insertVertex(com.vividsolutions.jts.geom.Geometry geometry, com.vividsolutions.jts.geom.Coordinate existing1, com.vividsolutions.jts.geom.Coordinate existing2, com.vividsolutions.jts.geom.Coordinate v)
public com.vividsolutions.jts.geom.Geometry deleteVertices(com.vividsolutions.jts.geom.Geometry geometry, java.util.Collection vertices)
public boolean containsReference(java.util.Collection collection, java.lang.Object o)