Locates a subgraph inside a set of subgraphs, in order to determine the outside depth of the subgraph.
More...
#include <SubgraphDepthLocater.h>
Locates a subgraph inside a set of subgraphs, in order to determine the outside depth of the subgraph.
The input subgraphs are assumed to have had depths already calculated for their edges.
Definition at line 59 of file SubgraphDepthLocater.h.
geos::operation::buffer::SubgraphDepthLocater::SubgraphDepthLocater |
( |
std::vector< BufferSubgraph * > * |
newSubgraphs | ) |
|
|
inline |
geos::operation::buffer::SubgraphDepthLocater::~SubgraphDepthLocater |
( |
| ) |
|
|
inline |
void geos::operation::buffer::SubgraphDepthLocater::findStabbedSegments |
( |
const geom::Coordinate & |
stabbingRayLeftPt, |
|
|
std::vector< DepthSegment * > & |
stabbedSegments |
|
) |
| |
|
private |
Finds all non-horizontal segments intersecting the stabbing line. The stabbing line is the ray to the right of stabbingRayLeftPt.
- Parameters
-
stabbingRayLeftPt | the left-hand origin of the stabbing line |
stabbedSegments | a vector to which DepthSegments intersecting the stabbing line will be added. |
void geos::operation::buffer::SubgraphDepthLocater::findStabbedSegments |
( |
const geom::Coordinate & |
stabbingRayLeftPt, |
|
|
std::vector< geomgraph::DirectedEdge * > * |
dirEdges, |
|
|
std::vector< DepthSegment * > & |
stabbedSegments |
|
) |
| |
|
private |
Finds all non-horizontal segments intersecting the stabbing line in the list of dirEdges. The stabbing line is the ray to the right of stabbingRayLeftPt.
- Parameters
-
stabbingRayLeftPt | the left-hand origin of the stabbing line |
stabbedSegments | the current vector of DepthSegments intersecting the stabbing line will be added. |
void geos::operation::buffer::SubgraphDepthLocater::findStabbedSegments |
( |
const geom::Coordinate & |
stabbingRayLeftPt, |
|
|
geomgraph::DirectedEdge * |
dirEdge, |
|
|
std::vector< DepthSegment * > & |
stabbedSegments |
|
) |
| |
|
private |
Finds all non-horizontal segments intersecting the stabbing line in the input dirEdge. The stabbing line is the ray to the right of stabbingRayLeftPt.
- Parameters
-
stabbingRayLeftPt | the left-hand origin of the stabbing line |
stabbedSegments | the current list of DepthSegments intersecting the stabbing line |
int geos::operation::buffer::SubgraphDepthLocater::getDepth |
( |
const geom::Coordinate & |
p | ) |
|
std::vector<BufferSubgraph*>* geos::operation::buffer::SubgraphDepthLocater::subgraphs |
|
private |
The documentation for this class was generated from the following file: