23 #include "qgis_core.h" 
  134                                     double epsilon = 1E-8,
 
  177     static QVector<QgsCircle> from3TangentsMulti( 
const QgsPoint &pt1_tg1, 
const QgsPoint &pt2_tg1,
 
  180         double epsilon = 1E-8,
 
  259     int outerTangents( 
const QgsCircle &other,
 
  284     int innerTangents( 
const QgsCircle &other,
 
  315       mSemiMajorAxis = std::fabs( radius );
 
  325     QVector<QgsPoint> northQuadrant() const 
SIP_FACTORY;
 
  334     bool contains( const 
QgsPoint &point, 
double epsilon = 1E-8 ) const;
 
  338     QString toString( 
int pointPrecision = 17, 
int radiusPrecision = 17, 
int azimuthPrecision = 2 ) const override;
 
  371     SIP_PYOBJECT __repr__();
 
  373     QString 
str = QStringLiteral( 
"<QgsCircle: %1>" ).arg( sipCpp->toString() );
 
  374     sipRes = PyUnicode_FromString( 
str.toUtf8().constData() );
 
Abstract base class for all geometries.
double radius() const SIP_HOLDGIL
Returns the radius of the circle.
void setRadius(double radius) SIP_HOLDGIL
Sets the radius of the circle.
Circular string geometry type.
static QgsEllipse fromExtent(const QgsPoint &pt1, const QgsPoint &pt2) SIP_HOLDGIL
Constructs an ellipse by an extent (aka bounding box / QgsRectangle).
virtual void setSemiMajorAxis(double semiMajorAxis) SIP_HOLDGIL
Sets the semi-major axis.
virtual double perimeter() const SIP_HOLDGIL
The circumference of the ellipse using first approximation of Ramanujan.
static QgsEllipse fromCenterPoint(const QgsPoint &ptc, const QgsPoint &pt1) SIP_HOLDGIL
Constructs an ellipse by a center point and a another point.
virtual void setSemiMinorAxis(double semiMinorAxis) SIP_HOLDGIL
Sets the semi-minor axis.
virtual double area() const SIP_HOLDGIL
The area of the ellipse.
A class to represent a 2D point.
Point geometry type, with support for z-dimension and m-values.
A rectangle specified with double values.