GEOS 3.11.1
|
Finds all connected Subgraph
s of a PlanarGraph.
More...
#include <ConnectedSubgraphFinder.h>
Public Member Functions | |
ConnectedSubgraphFinder (PlanarGraph &newGraph) | |
void | getConnectedSubgraphs (std::vector< Subgraph * > &dest) |
Store newly allocated connected Subgraphs into the given std::vector. More... | |
Finds all connected Subgraph
s of a PlanarGraph.
Note: uses the isVisited
flag on the nodes.
void geos::planargraph::algorithm::ConnectedSubgraphFinder::getConnectedSubgraphs | ( | std::vector< Subgraph * > & | dest | ) |
Store newly allocated connected Subgraphs into the given std::vector.
Caller take responsibility in releasing memory associated with the subgraphs themself.