Class ConnectedInteriorTester
- Namespace
- NetTopologySuite.Operation.Valid
- Assembly
- NetTopologySuite.dll
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:
- 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. If a disconnected situation is found the location of the problem is recorded.
[Obsolete]
public class ConnectedInteriorTester
- Inheritance
-
ConnectedInteriorTester
- Inherited Members
Constructors
ConnectedInteriorTester(GeometryGraph)
public ConnectedInteriorTester(GeometryGraph geomGraph)
Parameters
geomGraph
GeometryGraph
Properties
Coordinate
public Coordinate Coordinate { get; }
Property Value
Methods
FindDifferentPoint(Coordinate[], Coordinate)
public static Coordinate FindDifferentPoint(Coordinate[] coord, Coordinate pt)
Parameters
coord
Coordinate[]pt
Coordinate
Returns
IsInteriorsConnected()
public bool IsInteriorsConnected()
Returns
VisitLinkedDirectedEdges(DirectedEdge)
protected void VisitLinkedDirectedEdges(DirectedEdge start)
Parameters
start
DirectedEdge