private static class GeometryBoxDeleter.BoxDeleteComponentOperation extends java.lang.Object implements GeometryEditor.GeometryEditorOperation
Modifier and Type | Field and Description |
---|---|
private Envelope |
env |
private boolean |
isEdited |
Constructor and Description |
---|
BoxDeleteComponentOperation(Envelope env) |
Modifier and Type | Method and Description |
---|---|
Geometry |
edit(Geometry geometry,
GeometryFactory factory)
Edits a Geometry by returning a new Geometry with a modification.
|
boolean |
isEdited() |
private Envelope env
private boolean isEdited
public BoxDeleteComponentOperation(Envelope env)
public boolean isEdited()
public Geometry edit(Geometry geometry, GeometryFactory factory)
GeometryEditor.GeometryEditorOperation
null
if the geometry is to be deleted.
edit
in interface GeometryEditor.GeometryEditorOperation
geometry
- the Geometry to modifyfactory
- the factory with which to construct the modified Geometry
(may be different to the factory of the input geometry)