QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
18 #ifndef QGSQUADRILATERAL_H
19 #define QGSQUADRILATERAL_H
22 #include "qgis_core.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;
224 #endif // QGSQUADRILATERAL_H
Point
Simple enumeration to ensure indices in setPoint.
Quadrilateral geometry type.
Point geometry type, with support for z-dimension and m-values.
ConstructionOption
A quadrilateral can be constructed from 3 points where the second distance can be determined by the t...
@ Projected
Second distance is equal to the distance of the perpendicular projection of the 3rd point on the segm...
Line string geometry type, with support for z-dimension and m-values.
A rectangle specified with double values.
@ Distance
Second distance is equal to the distance between 2nd and 3rd point.
CORE_EXPORT std::unique_ptr< QgsPolygon > toPolygon(const QgsMeshFace &face, const QVector< QgsMeshVertex > &vertices)
Returns face as polygon geometry, caller is responsible for delete.
A class to represent a 2D point.
QVector< QgsPoint > QgsPointSequence