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