28#include <geos/export.h>
46namespace sharedpaths {
69 typedef std::vector<geom::LineString*>
PathList;
129 void findLinearIntersections(
PathList& to);
143 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:66
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
Definition: LineString.h:66
Find shared paths among two linear Geometry objects.
Definition: SharedPathsOp.h:65
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:69
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: geos.h:39