Class GeometryBoxDeleter
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.geom.GeometryBoxDeleter
-
public class GeometryBoxDeleter extends java.lang.ObjectDeletes 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 classGeometryBoxDeleter.BoxDeleteComponentOperationprivate static classGeometryBoxDeleter.BoxDeleteVertexOperation
-
Constructor Summary
Constructors Constructor Description GeometryBoxDeleter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Geometrydelete(Geometry geom, Envelope env)private static GeometrydeleteComponents(Geometry geom, Envelope env)private static GeometrydeleteVertices(Geometry geom, Envelope env)
-