19 #ifndef GEOS_OP_BUFFER_SUBGRAPHDEPTHLOCATER_H
20 #define GEOS_OP_BUFFER_SUBGRAPHDEPTHLOCATER_H
22 #include <geos/export.h>
26 #include <geos/geom/LineSegment.h>
59 class GEOS_DLL SubgraphDepthLocater {
63 SubgraphDepthLocater(std::vector<BufferSubgraph*>* newSubgraphs)
65 subgraphs(newSubgraphs)
68 ~SubgraphDepthLocater() {}
70 int getDepth(
const geom::Coordinate& p);
74 std::vector<BufferSubgraph*>* subgraphs;
76 geom::LineSegment seg;
86 void findStabbedSegments(
const geom::Coordinate& stabbingRayLeftPt,
87 std::vector<DepthSegment*>& stabbedSegments);
98 void findStabbedSegments(
const geom::Coordinate& stabbingRayLeftPt,
99 std::vector<geomgraph::DirectedEdge*>* dirEdges,
100 std::vector<DepthSegment*>& stabbedSegments);
111 void findStabbedSegments(
const geom::Coordinate& stabbingRayLeftPt,
112 geomgraph::DirectedEdge* dirEdge,
113 std::vector<DepthSegment*>& stabbedSegments);
122 #endif // ndef GEOS_OP_BUFFER_SUBGRAPHDEPTHLOCATER_H