Class TopologyStretcher.VertexInMaskCountCoordinateFilter
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.topostretch.TopologyStretcher.VertexInMaskCountCoordinateFilter
-
- All Implemented Interfaces:
CoordinateFilter
- Enclosing class:
- TopologyStretcher
private static class TopologyStretcher.VertexInMaskCountCoordinateFilter extends java.lang.Object implements CoordinateFilter
-
-
Constructor Summary
Constructors Constructor Description VertexInMaskCountCoordinateFilter(Envelope mask)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
filter(Coordinate coord)
Performs an operation with thecoord
.int
getCount()
-
-
-
Field Detail
-
mask
private Envelope mask
-
count
private int count
-
-
Constructor Detail
-
VertexInMaskCountCoordinateFilter
public VertexInMaskCountCoordinateFilter(Envelope mask)
-
-
Method Detail
-
filter
public void filter(Coordinate coord)
Description copied from interface:CoordinateFilter
Performs an operation with thecoord
. There is no guarantee that the coordinate is the actual object stored in the target geometry.- Specified by:
filter
in interfaceCoordinateFilter
- Parameters:
coord
- aCoordinate
to which the filter is applied.
-
getCount
public int getCount()
-
-