QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
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] );
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.
int numPoints() const override SIP_HOLDGIL
Returns the number of points in the curve.