Class ConnectedInteriorTester
- java.lang.Object
-
- org.locationtech.jts.operation.valid.ConnectedInteriorTester
-
public class ConnectedInteriorTester extends Object
This class tests that the interior of an areaGeometry(PolygonorMultiPolygon) is connected. This can happen if:- a shell self-intersects
- one or more holes form a connected chain touching a shell at two different points
- one or more holes form a ring around a subset of the interior
- Version:
- 1.7
-
-
Constructor Summary
Constructors Constructor Description ConnectedInteriorTester(GeometryGraph geomGraph)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CoordinatefindDifferentPoint(Coordinate[] coord, Coordinate pt)CoordinategetCoordinate()booleanisInteriorsConnected()protected voidvisitLinkedDirectedEdges(DirectedEdge start)
-
-
-
Constructor Detail
-
ConnectedInteriorTester
public ConnectedInteriorTester(GeometryGraph geomGraph)
-
-
Method Detail
-
findDifferentPoint
public static Coordinate findDifferentPoint(Coordinate[] coord, Coordinate pt)
-
getCoordinate
public Coordinate getCoordinate()
-
isInteriorsConnected
public boolean isInteriorsConnected()
-
visitLinkedDirectedEdges
protected void visitLinkedDirectedEdges(DirectedEdge start)
-
-