QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
23 #include "qgis_core.h"
161 virtual void setSemiMajorAxis(
double semiMajorAxis )
SIP_HOLDGIL;
167 virtual void setSemiMinorAxis(
double semiMinorAxis )
SIP_HOLDGIL;
189 virtual QVector<
QgsPoint> foci() const;
206 virtual QVector<
QgsPoint> quadrant() const;
241 virtual QString toString(
int pointPrecision = 17,
int axisPrecision = 17,
int azimuthPrecision = 2 ) const;
244 SIP_PYOBJECT __repr__();
246 QString
str = QStringLiteral(
"<QgsEllipse: %1>" ).arg( sipCpp->toString() );
247 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
253 double mSemiMajorAxis = 0.0;
254 double mSemiMinorAxis = 0.0;
255 double mAzimuth = 90.0;
259 void normalizeAxis();
262 #endif // QGSELLIPSE_H
double semiMajorAxis() const SIP_HOLDGIL
Returns the semi-major axis.
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
Point geometry type, with support for z-dimension and m-values.
Line string geometry type, with support for z-dimension and m-values.
void setCenter(const QgsPoint ¢er) SIP_HOLDGIL
Sets the center point.
bool operator!=(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
A rectangle specified with double values.
double semiMinorAxis() const SIP_HOLDGIL
Returns the semi-minor axis.
CORE_EXPORT std::unique_ptr< QgsPolygon > toPolygon(const QgsMeshFace &face, const QVector< QgsMeshVertex > &vertices)
Returns face as polygon geometry, caller is responsible for delete.
double azimuth() const SIP_HOLDGIL
Returns the azimuth.
QgsPoint center() const SIP_HOLDGIL
Returns the center point.
QVector< QgsPoint > QgsPointSequence
QgsPoint & rcenter()
Returns a reference to the center point of this ellipse.