26#ifndef GEOS_OPERATION_SHAREDPATHSOP_H
27#define GEOS_OPERATION_SHAREDPATHSOP_H
29#include <geos/export.h>
45namespace sharedpaths {
68 typedef std::vector<geom::LineString*>
PathList;
128 void findLinearIntersections(
PathList& to);
142 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:64
static void sharedPathsOp(const geom::Geometry &g1, const geom::Geometry &g2, PathList &sameDirection, PathList &oppositeDirection)
Find paths shared between two linear geometries.
std::vector< geom::LineString * > PathList
LineString vector (list of edges)
Definition: SharedPathsOp.h:68
void getSharedPaths(PathList &sameDirection, PathList &oppositeDirection)
Get shared paths.
static void clearEdges(PathList &from)
Delete all edges in the list.
SharedPathsOp(const geom::Geometry &g1, const geom::Geometry &g2)
Constructor.
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25