Class GeometryBoxDeleter
java.lang.Object
org.locationtech.jtstest.testbuilder.geom.GeometryBoxDeleter
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).
- Author:
- Martin Davis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Geometry
deleteComponents
(Geometry geom, Envelope env, boolean deleteIntersecting) static Geometry
deleteComponentsAndVertices
(Geometry geom, Envelope env) static Geometry
deleteComponentsAndVertices
(Geometry geom, Envelope env, boolean deleteIntersectingComponents) static Geometry
deleteVertices
(Geometry geom, Envelope env)
-
Constructor Details
-
GeometryBoxDeleter
public GeometryBoxDeleter()
-
-
Method Details
-
deleteComponentsAndVertices
-
deleteComponentsAndVertices
-
deleteComponents
-
deleteVertices
-