Class ConnectedSubgraphFinder

java.lang.Object
org.locationtech.jts.planargraph.algorithm.ConnectedSubgraphFinder

public class ConnectedSubgraphFinder extends Object
Finds all connected Subgraphs of a PlanarGraph.

Note: uses the isVisited flag on the nodes.

  • Constructor Details

    • ConnectedSubgraphFinder

      public ConnectedSubgraphFinder(PlanarGraph graph)
  • Method Details

    • getConnectedSubgraphs

      public List getConnectedSubgraphs()