26 #ifndef GEOS_OPERATION_SHAREDPATHSOP_H 27 #define GEOS_OPERATION_SHAREDPATHSOP_H 38 class GeometryFactory;
47 namespace sharedpaths {
70 typedef std::vector<geom::LineString*>
PathList;
92 PathList& sameDirection,
93 PathList& oppositeDirection);
117 void getSharedPaths(PathList& sameDirection, PathList& oppositeDirection);
120 static void clearEdges(PathList& from);
130 void findLinearIntersections(PathList& to);
144 return (isForward(edge, _g1) == isForward(edge, _g2));
const geom::GeometryFactory & _gf
std::vector< geom::LineString * > PathList
LineString vector (list of edges)
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Find shared paths among two linear Geometry objects.
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Basic namespace for all GEOS functionalities.
bool isSameDirection(const geom::LineString &edge)
const geom::Geometry & _g2
const geom::Geometry & _g1