#include <SharedPathsOp.h>
Public Types | |
typedef std::vector< geom::LineString * > | PathList |
LineString vector (list of edges). | |
Public Member Functions | |
SharedPathsOp (const geom::Geometry &g1, const geom::Geometry &g2) | |
Constructor. | |
void | getSharedPaths (PathList &sameDirection, PathList &oppositeDirection) |
Get shared paths. | |
Static Public Member Functions | |
void | sharedPathsOp (const geom::Geometry &g1, const geom::Geometry &g2, PathList &sameDirection, PathList &oppositeDirection) |
Find paths shared between two linear geometries. | |
void | clearEdges (PathList &from) |
Delete all edges in the list. |
For each shared path report if it direction is the same or opposite.
Paths reported as shared are given in the direction they appear in the first geometry.
Developed by Sandro Santilli (strk@keybit.net) for Faunalia (http://www.faunalia.it) with funding from Regione Toscana - Settore SISTEMA INFORMATIVO TERRITORIALE ED AMBIENTALE - for the project: "Sviluppo strumenti software per il trattamento di dati geografici basati su QuantumGIS e Postgis (CIG 0494241492)"
|
Constructor.
|
|
Get shared paths.
|
|
Find paths shared between two linear geometries.
|