| QGIS API Documentation
    3.16.0-Hannover (43b64b13f3)
    | 
 
 
 
Go to the documentation of this file.
   18 #ifndef QGSQUADRILATERAL_H 
   19 #define QGSQUADRILATERAL_H 
   22 #include "qgis_core.h" 
  104     static constexpr 
auto &rectangleFromDiagonal = rectangleFromExtent;
 
  197     QString toString( 
int pointPrecision = 17 ) const;
 
  209     SIP_PYOBJECT __repr__();
 
  211     QString str = QStringLiteral( 
"<QgsQuadrilateral: %1>" ).arg( sipCpp->toString() );
 
  212     sipRes = PyUnicode_FromString( str.toUtf8().constData() );
 
  216     QgsPoint mPoint1, mPoint2, mPoint3, mPoint4;
 
  219 #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 perpendicualr 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.
QgsQuadrilateral() SIP_HOLDGIL
Constructor for an empty quadrilateral geometry.
A class to represent a 2D point.
QVector< QgsPoint > QgsPointSequence