16#ifndef QGSCROSSSECTION_H
17#define QGSCROSSSECTION_H
67 void nudgeLeft(
double distance );
70 void nudgeRight(
double distance );
75 double mHalfWidth = 0.0;
77 void nudge(
double distance );
double halfWidth() const
Returns the half-width of the cross section.
QgsPoint endPoint() const
Returns the end point of the cross section.
void setHalfWidth(const double halfWidth)
Sets the half-width of the cross section.
QgsCrossSection()=default
Constructs an invalid cross section.
bool isValid() const
Returns cross section validity.
QgsPoint startPoint() const
Returns the start point of the cross section.
A geometry is the spatial representation of a feature.
Point geometry type, with support for z-dimension and m-values.