#include "qgstracer.h"
#include "qgsgeometry.h"
#include "qgsgeometryutils.h"
#include "qgsgeos.h"
#include "qgslogger.h"
#include "qgsvectorlayer.h"
#include <queue>
#include <vector>
Go to the source code of this file.
|
double | closestSegment (const QgsPolyline &pl, const QgsPoint &pt, int &vertexAfter, double epsilon) |
|
double | distance2D (const QgsPolyline &coords) |
|
void | extractLinework (const QgsGeometry *g, QgsMultiPolyline &mpl) |
|
int | joinVertexToGraph (QgsTracerGraph &g, const QgsPoint &pt) |
|
QgsTracerGraph * | makeGraph (const QVector< QgsPolyline > &edges) |
|
int | point2edge (const QgsTracerGraph &g, const QgsPoint &pt, int &lineVertexAfter, double epsilon=1e-6) |
|
int | point2vertex (const QgsTracerGraph &g, const QgsPoint &pt, double epsilon=1e-6) |
|
int | pointInGraph (QgsTracerGraph &g, const QgsPoint &pt) |
|
void | resetGraph (QgsTracerGraph &g) |
|
QVector< QgsPoint > | shortestPath (const QgsTracerGraph &g, int v1, int v2) |
|
void | splitLinestring (const QgsPolyline &points, const QgsPoint &pt, int lineVertexAfter, QgsPolyline &pts1, QgsPolyline &pts2) |
|
◆ DijkstraQueueItem
◆ closestSegment()
double closestSegment |
( |
const QgsPolyline & |
pl, |
|
|
const QgsPoint & |
pt, |
|
|
int & |
vertexAfter, |
|
|
double |
epsilon |
|
) |
| |
◆ distance2D()
◆ extractLinework()
◆ joinVertexToGraph()
◆ makeGraph()
◆ point2edge()
int point2edge |
( |
const QgsTracerGraph & |
g, |
|
|
const QgsPoint & |
pt, |
|
|
int & |
lineVertexAfter, |
|
|
double |
epsilon = 1e-6 |
|
) |
| |
◆ point2vertex()
◆ pointInGraph()
◆ resetGraph()
◆ shortestPath()
◆ splitLinestring()