QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
30 const double *xData = lineString->
xData();
31 const double *yData = lineString->
yData();
33 for (
int i = 0; i < count - 1; i++ )
35 double val = ( xData[i + 1] - xData[i] ) * ( yData[i + 1] + yData[i] );
int numPoints() const override
Returns the number of points in the curve.
const double * yData() const
Returns a const pointer to the y vertex data.
static bool isExteriorRing(const QgsLineString *lineString)
Returns whether this linear ring forms an exterior ring according to MVT spec (depending on the orien...
Line string geometry type, with support for z-dimension and m-values.
const double * xData() const
Returns a const pointer to the x vertex data.