Class RepeatedPointTester

java.lang.Object
org.locationtech.jts.operation.valid.RepeatedPointTester

public class RepeatedPointTester extends Object
Implements the appropriate checks for repeated points (consecutive identical coordinates) as defined in the JTS spec.
Version:
1.7
  • Field Details

    • repeatedCoord

      private Coordinate repeatedCoord
  • Constructor Details

    • RepeatedPointTester

      public RepeatedPointTester()
  • Method Details

    • getCoordinate

      public Coordinate getCoordinate()
    • hasRepeatedPoint

      public boolean hasRepeatedPoint(Geometry g)
    • hasRepeatedPoint

      public boolean hasRepeatedPoint(Coordinate[] coord)
    • hasRepeatedPoint

      private boolean hasRepeatedPoint(Polygon p)
    • hasRepeatedPoint

      private boolean hasRepeatedPoint(GeometryCollection gc)