|
| QgsCircle () |
|
| QgsCircle (const QgsPoint ¢er, double radius, double azimuth=0) SIP_HOLDGIL |
| Constructs a circle by defining all the members. More...
|
|
double | area () const override SIP_HOLDGIL |
| The area of the ellipse. More...
|
|
QDomElement | asGml2 (QDomDocument &doc, int precision=17, const QString &ns="gml", QgsAbstractGeometry::AxisOrder axisOrder=QgsAbstractGeometry::AxisOrder::XY) const |
| Returns a GML2 representation of the geometry. More...
|
|
QDomElement | asGml3 (QDomDocument &doc, int precision=17, const QString &ns="gml", QgsAbstractGeometry::AxisOrder axisOrder=QgsAbstractGeometry::AxisOrder::XY) const |
| Returns a GML3 representation of the geometry. More...
|
|
QgsRectangle | boundingBox () const override |
| Returns the minimal bounding box for the ellipse. More...
|
|
bool | contains (const QgsPoint &point, double epsilon=1E-8) const |
| Returns true if the circle contains the point. More...
|
|
int | innerTangents (const QgsCircle &other, QgsPointXY &line1P1, QgsPointXY &line1P2, QgsPointXY &line2P1, QgsPointXY &line2P2) const |
| Calculates the inner tangent points between this circle and an other circle. More...
|
|
int | intersections (const QgsCircle &other, QgsPoint &intersection1, QgsPoint &intersection2, bool useZ=false) const |
| Calculates the intersections points between this circle and an other circle. More...
|
|
QVector< QgsPoint > | northQuadrant () const |
| The four quadrants of the ellipse. More...
|
|
int | outerTangents (const QgsCircle &other, QgsPointXY &line1P1, QgsPointXY &line1P2, QgsPointXY &line2P1, QgsPointXY &line2P2) const |
| Calculates the outer tangent points between this circle and an other circle. More...
|
|
double | perimeter () const override SIP_HOLDGIL |
| The circumference of the ellipse using first approximation of Ramanujan. More...
|
|
double | radius () const SIP_HOLDGIL |
| Returns the radius of the circle. More...
|
|
void | setRadius (double radius) SIP_HOLDGIL |
| Sets the radius of the circle. More...
|
|
void | setSemiMajorAxis (double semiMajorAxis) override SIP_HOLDGIL |
| Inherited method. More...
|
|
void | setSemiMinorAxis (double semiMinorAxis) override SIP_HOLDGIL |
| Inherited method. More...
|
|
bool | tangentToPoint (const QgsPointXY &p, QgsPointXY &pt1, QgsPointXY &pt2) const |
| Calculates the tangent points between this circle and the point p. More...
|
|
QgsCircularString * | toCircularString (bool oriented=false) const |
| Returns a circular string from the circle. More...
|
|
QString | toString (int pointPrecision=17, int radiusPrecision=17, int azimuthPrecision=2) const override |
| returns a string representation of the ellipse. More...
|
|
| QgsEllipse () SIP_HOLDGIL=default |
| Constructor for QgsEllipse. More...
|
|
| QgsEllipse (const QgsPoint ¢er, double semiMajorAxis, double semiMinorAxis, double azimuth=90) SIP_HOLDGIL |
| Constructs an ellipse by defining all the members. More...
|
|
virtual | ~QgsEllipse ()=default |
|
virtual double | area () const SIP_HOLDGIL |
| The area of the ellipse. More...
|
|
double | azimuth () const SIP_HOLDGIL |
| Returns the azimuth. More...
|
|
virtual QgsRectangle | boundingBox () const |
| Returns the minimal bounding box for the ellipse. More...
|
|
QgsPoint | center () const SIP_HOLDGIL |
| Returns the center point. More...
|
|
virtual double | eccentricity () const SIP_HOLDGIL |
| The eccentricity of the ellipse. More...
|
|
virtual QVector< QgsPoint > | foci () const |
| Two foci of the ellipse. More...
|
|
virtual double | focusDistance () const SIP_HOLDGIL |
| The distance between the center and each foci. More...
|
|
virtual bool | isEmpty () const SIP_HOLDGIL |
| An ellipse is empty if axes are equal to 0. More...
|
|
virtual bool | operator!= (const QgsEllipse &elp) const |
|
virtual bool | operator== (const QgsEllipse &elp) const |
|
virtual QgsPolygon * | orientedBoundingBox () const |
| Returns the oriented minimal bounding box for the ellipse. More...
|
|
virtual double | perimeter () const SIP_HOLDGIL |
| The circumference of the ellipse using first approximation of Ramanujan. More...
|
|
virtual QgsPointSequence | points (unsigned int segments=36) const |
| Returns a list of points with segmentation from segments. More...
|
|
virtual QVector< QgsPoint > | quadrant () const |
| The four quadrants of the ellipse. More...
|
|
QgsPoint & | rcenter () |
| Returns a reference to the center point of this ellipse. More...
|
|
double | semiMajorAxis () const SIP_HOLDGIL |
| Returns the semi-major axis. More...
|
|
double | semiMinorAxis () const SIP_HOLDGIL |
| Returns the semi-minor axis. More...
|
|
void | setAzimuth (double azimuth) SIP_HOLDGIL |
| Sets the azimuth (orientation). More...
|
|
void | setCenter (const QgsPoint ¢er) SIP_HOLDGIL |
| Sets the center point. More...
|
|
virtual void | setSemiMajorAxis (double semiMajorAxis) SIP_HOLDGIL |
| Sets the semi-major axis. More...
|
|
virtual void | setSemiMinorAxis (double semiMinorAxis) SIP_HOLDGIL |
| Sets the semi-minor axis. More...
|
|
virtual QgsLineString * | toLineString (unsigned int segments=36) const |
| Returns a segmented linestring. More...
|
|
virtual QgsPolygon * | toPolygon (unsigned int segments=36) const |
| Returns a segmented polygon. More...
|
|
virtual QString | toString (int pointPrecision=17, int axisPrecision=17, int azimuthPrecision=2) const |
| returns a string representation of the ellipse. More...
|
|