Go to the source code of this file.
|
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 |
|
|
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) |
|
◆ VisitPointAtDistanceFunction
◆ VisitPointFunction
typedef std::function<bool ( double x, double y, double z, double m, double distanceFromStart, double angle )> VisitPointFunction |
◆ 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 |
|
) |
| |
◆ interpolateValue()
double interpolateValue |
( |
double |
a, |
|
|
double |
b, |
|
|
double |
fraction |
|
) |
| |
◆ visitPointsByInterpolatedM()
void visitPointsByInterpolatedM |
( |
const QgsLineString * |
line, |
|
|
const QgsLineString * |
linePainterUnits, |
|
|
bool |
emitFirstPoint, |
|
|
const double |
distance, |
|
|
const double |
averageAngleLengthPainterUnits, |
|
|
const VisitPointFunction & |
visitPoint |
|
) |
| |
◆ visitPointsByInterpolatedZ()
void visitPointsByInterpolatedZ |
( |
const QgsLineString * |
line, |
|
|
const QgsLineString * |
linePainterUnits, |
|
|
bool |
emitFirstPoint, |
|
|
const double |
distance, |
|
|
const double |
averageAngleLengthPainterUnits, |
|
|
const VisitPointFunction & |
visitPoint |
|
) |
| |
◆ visitPointsByInterpolatedZM()
void visitPointsByInterpolatedZM |
( |
const QgsLineString * |
line, |
|
|
const QgsLineString * |
linePainterUnits, |
|
|
bool |
emitFirstPoint, |
|
|
const double |
step, |
|
|
const double |
averageAngleLengthPainterUnits, |
|
|
const VisitPointFunction & |
visitPoint, |
|
|
bool |
useZ |
|
) |
| |
◆ visitPointsByRegularDistance()
void visitPointsByRegularDistance |
( |
const QgsLineString * |
line, |
|
|
const QgsLineString * |
linePainterUnits, |
|
|
bool |
emitFirstPoint, |
|
|
const double |
distance, |
|
|
const double |
averageAngleLengthPainterUnits, |
|
|
const VisitPointFunction & |
visitPoint |
|
) |
| |