com.vividsolutions.jts.operation.valid
Class ConnectedInteriorTester
java.lang.Object
com.vividsolutions.jts.operation.valid.ConnectedInteriorTester
- public class ConnectedInteriorTester
- extends java.lang.Object
This class tests that the interior of an area Geometry
(Polygon
or MultiPolygon
)
is connected. An area Geometry is invalid if the interior is disconnected.
This can happen if:
- one or more holes either form a chain touching the shell at two places
- one or more holes form a ring around a portion of the interior
If an inconsistency if found the location of the problem
is recorded.
- Version:
- 1.4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectedInteriorTester
public ConnectedInteriorTester(GeometryGraph geomGraph)
findDifferentPoint
public static Coordinate findDifferentPoint(Coordinate[] coord,
Coordinate pt)
getCoordinate
public Coordinate getCoordinate()
isInteriorsConnected
public boolean isInteriorsConnected()
visitLinkedDirectedEdges
protected void visitLinkedDirectedEdges(DirectedEdge start)