26 #ifndef GEOS_OPERATION_SHAREDPATHSOP_H
27 #define GEOS_OPERATION_SHAREDPATHSOP_H
29 #include <geos/export.h>
38 class GeometryFactory;
47 namespace sharedpaths {
70 typedef std::vector<geom::LineString*>
PathList;
130 void findLinearIntersections(
PathList& to);
144 return (isForward(edge, _g1) == isForward(edge, _g2));
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:68
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
Definition: LineString.h:68
Find shared paths among two linear Geometry objects.
Definition: SharedPathsOp.h:66
static void sharedPathsOp(const geom::Geometry &g1, const geom::Geometry &g2, PathList &sameDirection, PathList &oppositeDirection)
std::vector< geom::LineString * > PathList
LineString vector (list of edges)
Definition: SharedPathsOp.h:70
void getSharedPaths(PathList &sameDirection, PathList &oppositeDirection)
static void clearEdges(PathList &from)
Delete all edges in the list.
SharedPathsOp(const geom::Geometry &g1, const geom::Geometry &g2)
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26