Class GeometryBoxDeleter
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.geom.GeometryBoxDeleter
-
public class GeometryBoxDeleter extends java.lang.Object
Deletes vertices or components from a geometry which lie inside a given box. If the box completely contains one or more components (including polygon holes), those components are deleted and the operation stops. Otherwise if the box contains a subset of vertices from a component, those vertices are deleted. When deleting vertices only one component of the geometry is modified (the first one found which has vertices in the box).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
GeometryBoxDeleter.BoxDeleteComponentOperation
private static class
GeometryBoxDeleter.BoxDeleteVertexOperation
-
Constructor Summary
Constructors Constructor Description GeometryBoxDeleter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Geometry
delete(Geometry geom, Envelope env)
private static Geometry
deleteComponents(Geometry geom, Envelope env)
private static Geometry
deleteVertices(Geometry geom, Envelope env)
-