com.vividsolutions.jts.operation.valid

Class 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: If an inconsistency if found the location of the problem is recorded.
Version:
1.6

Constructor Summary

ConnectedInteriorTester(GeometryGraph geomGraph)

Method Summary

static Coordinate
findDifferentPoint(Coordinate[] coord, Coordinate pt)
Coordinate
getCoordinate()
boolean
isInteriorsConnected()
protected void
visitLinkedDirectedEdges(DirectedEdge start)

Constructor Details

ConnectedInteriorTester

public ConnectedInteriorTester(GeometryGraph geomGraph)

Method Details

findDifferentPoint

public static Coordinate findDifferentPoint(Coordinate[] coord,
                                            Coordinate pt)

getCoordinate

public Coordinate getCoordinate()

isInteriorsConnected

public boolean isInteriorsConnected()

visitLinkedDirectedEdges

protected void visitLinkedDirectedEdges(DirectedEdge start)