26#ifndef GEOS_OPERATION_SHAREDPATHSOP_H
27#define GEOS_OPERATION_SHAREDPATHSOP_H
29#include <geos/export.h>
45namespace sharedpaths {
69 typedef std::vector<geom::LineString*>
PathList;
129 void findLinearIntersections(
PathList& to);
141 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:67
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:167
Definition LineString.h:70
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)
Find paths shared between two linear geometries.
std::vector< geom::LineString * > PathList
LineString vector (list of edges).
Definition SharedPathsOp.h:69
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.
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Provides classes for implementing operations on geometries.
Definition IndexedNestedRingTester.h:40
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25