109 virtual
bool operator ==( const
QgsEllipse &elp ) const;
110 virtual
bool operator !=( const
QgsEllipse &elp ) const;
160 virtual void setSemiMajorAxis(
double semiMajorAxis )
SIP_HOLDGIL;
166 virtual void setSemiMinorAxis(
double semiMinorAxis )
SIP_HOLDGIL;
188 virtual QVector<
QgsPoint> foci() const;
205 virtual QVector<
QgsPoint> quadrant() const;
240 virtual QString toString(
int pointPrecision = 17,
int axisPrecision = 17,
int azimuthPrecision = 2 ) const;
243 SIP_PYOBJECT __repr__();
245 QString
str = QStringLiteral(
"<QgsEllipse: %1>" ).arg( sipCpp->toString() );
246 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
252 double mSemiMajorAxis = 0.0;
253 double mSemiMinorAxis = 0.0;
254 double mAzimuth = 90.0;
258 void normalizeAxis();
260 void pointsInternal(
unsigned int segments, QVector< double> &x, QVector< double> &y, QVector<double> &z, QVector< double> &m )
const;
QgsPoint & rcenter()
Returns a reference to the center point of this ellipse.
double semiMajorAxis() const
Returns the semi-major axis.
void setCenter(const QgsPoint ¢er)
Sets the center point.
double azimuth() const
Returns the azimuth.
QgsEllipse()=default
Constructor for QgsEllipse.
double semiMinorAxis() const
Returns the semi-minor axis.
Line string geometry type, with support for z-dimension and m-values.
Point geometry type, with support for z-dimension and m-values.
A rectangle specified with double values.
QVector< QgsPoint > QgsPointSequence