18#ifndef QGSQUADRILATERAL_H
19#define QGSQUADRILATERAL_H
107 static constexpr auto &rectangleFromDiagonal = rectangleFromExtent;
202 QString toString(
int pointPrecision = 17 ) const;
214 SIP_PYOBJECT __repr__();
216 QString
str = QStringLiteral(
"<QgsQuadrilateral: %1>" ).arg( sipCpp->toString() );
217 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
221 QgsPoint mPoint1, mPoint2, mPoint3, mPoint4;
Line string geometry type, with support for z-dimension and m-values.
A class to represent a 2D point.
Point geometry type, with support for z-dimension and m-values.
Quadrilateral geometry type.
Point
Simple enumeration to ensure indices in setPoint.
QgsQuadrilateral()
Constructor for an empty quadrilateral geometry.
ConstructionOption
A quadrilateral can be constructed from 3 points where the second distance can be determined by the t...
@ Distance
Second distance is equal to the distance between 2nd and 3rd point.
@ Projected
Second distance is equal to the distance of the perpendicular projection of the 3rd point on the segm...
A rectangle specified with double values.
QVector< QgsPoint > QgsPointSequence