QGIS API Documentation 3.41.0-Master (25ec5511245)
Loading...
Searching...
No Matches
Typedefs | Functions
qgslinearreferencingsymbollayer.cpp File Reference
#include "qgslinearreferencingsymbollayer.h"
#include "qgsrendercontext.h"
#include "qgstextrenderer.h"
#include "qgslinestring.h"
#include "qgspolygon.h"
#include "qgsmarkersymbol.h"
#include "qgsnumericformatregistry.h"
#include "qgsapplication.h"
#include "qgsbasicnumericformat.h"
#include "qgsgeometryutils.h"
#include "qgsunittypes.h"
#include "qgssymbollayerutils.h"
#include "qgstextlabelfeature.h"
#include "qgsgeos.h"
#include "qgspallabeling.h"
#include "labelposition.h"
#include "feature.h"
Include dependency graph for qgslinearreferencingsymbollayer.cpp:

Go to the source code of this file.

Typedefs

typedef std::function< void(const QgsLineString *, const QgsLineString *, bool, double, double, const VisitPointFunction &) > VisitPointAtDistanceFunction
 
typedef std::function< bool(double x, double y, double z, double m, double distanceFromStart, double angle)> VisitPointFunction
 

Functions

double calculateAveragedAngle (double targetPointDistanceAlongSegment, double segmentLengthPainterUnits, double averageAngleLengthPainterUnits, double prevXPainterUnits, double prevYPainterUnits, double thisXPainterUnits, double thisYPainterUnits, const double *xPainterUnits, const double *yPainterUnits, int totalPoints, int i)
 
double interpolateValue (double a, double b, double fraction)
 
void visitPointsByInterpolatedM (const QgsLineString *line, const QgsLineString *linePainterUnits, bool emitFirstPoint, const double distance, const double averageAngleLengthPainterUnits, const VisitPointFunction &visitPoint)
 
void visitPointsByInterpolatedZ (const QgsLineString *line, const QgsLineString *linePainterUnits, bool emitFirstPoint, const double distance, const double averageAngleLengthPainterUnits, const VisitPointFunction &visitPoint)
 
void visitPointsByInterpolatedZM (const QgsLineString *line, const QgsLineString *linePainterUnits, bool emitFirstPoint, const double step, const double averageAngleLengthPainterUnits, const VisitPointFunction &visitPoint, bool useZ)
 
void visitPointsByRegularDistance (const QgsLineString *line, const QgsLineString *linePainterUnits, bool emitFirstPoint, const double distance, const double averageAngleLengthPainterUnits, const VisitPointFunction &visitPoint)
 

Typedef Documentation

◆ VisitPointAtDistanceFunction

typedef std::function< void( const QgsLineString *, const QgsLineString *, bool, double, double, const VisitPointFunction & ) > VisitPointAtDistanceFunction

Definition at line 518 of file qgslinearreferencingsymbollayer.cpp.

◆ VisitPointFunction

typedef std::function<bool ( double x, double y, double z, double m, double distanceFromStart, double angle )> VisitPointFunction

Definition at line 517 of file qgslinearreferencingsymbollayer.cpp.

Function Documentation

◆ calculateAveragedAngle()

double calculateAveragedAngle ( double  targetPointDistanceAlongSegment,
double  segmentLengthPainterUnits,
double  averageAngleLengthPainterUnits,
double  prevXPainterUnits,
double  prevYPainterUnits,
double  thisXPainterUnits,
double  thisYPainterUnits,
const double *  xPainterUnits,
const double *  yPainterUnits,
int  totalPoints,
int  i 
)

Definition at line 425 of file qgslinearreferencingsymbollayer.cpp.

◆ interpolateValue()

double interpolateValue ( double  a,
double  b,
double  fraction 
)

Definition at line 608 of file qgslinearreferencingsymbollayer.cpp.

◆ visitPointsByInterpolatedM()

void visitPointsByInterpolatedM ( const QgsLineString line,
const QgsLineString linePainterUnits,
bool  emitFirstPoint,
const double  distance,
const double  averageAngleLengthPainterUnits,
const VisitPointFunction visitPoint 
)

Definition at line 729 of file qgslinearreferencingsymbollayer.cpp.

◆ visitPointsByInterpolatedZ()

void visitPointsByInterpolatedZ ( const QgsLineString line,
const QgsLineString linePainterUnits,
bool  emitFirstPoint,
const double  distance,
const double  averageAngleLengthPainterUnits,
const VisitPointFunction visitPoint 
)

Definition at line 724 of file qgslinearreferencingsymbollayer.cpp.

◆ visitPointsByInterpolatedZM()

void visitPointsByInterpolatedZM ( const QgsLineString line,
const QgsLineString linePainterUnits,
bool  emitFirstPoint,
const double  step,
const double  averageAngleLengthPainterUnits,
const VisitPointFunction visitPoint,
bool  useZ 
)

Definition at line 614 of file qgslinearreferencingsymbollayer.cpp.

◆ visitPointsByRegularDistance()

void visitPointsByRegularDistance ( const QgsLineString line,
const QgsLineString linePainterUnits,
bool  emitFirstPoint,
const double  distance,
const double  averageAngleLengthPainterUnits,
const VisitPointFunction visitPoint 
)

Definition at line 520 of file qgslinearreferencingsymbollayer.cpp.