@@ -47,7 +47,9 @@ Constructs an ellipse by defining all the members.
47
47
static QgsEllipse fromFoci( const QgsPoint &pt1, const QgsPoint &pt2, const QgsPoint &pt3 );
48
48
%Docstring
49
49
Constructs an ellipse by foci (``pt1`` and ``pt2``) and a point ``pt3``.
50
- The center point can have z and m values which are the result from the midpoint operation between ``pt1`` and ``pt2``.
50
+ The center point can have m value which is the result from the midpoint
51
+ operation between ``pt1`` and ``pt2``. Z dimension is also supported and
52
+ is retrieved from the first 3D point amongst ``pt1`` and ``pt2``.
51
53
Axes are calculated from the 2D distance with the third point ``pt3``.
52
54
The azimuth is the angle between ``pt1`` and ``pt2``.
53
55
@@ -59,7 +61,9 @@ The azimuth is the angle between ``pt1`` and ``pt2``.
59
61
static QgsEllipse fromExtent( const QgsPoint &pt1, const QgsPoint &pt2 );
60
62
%Docstring
61
63
Constructs an ellipse by an extent (aka bounding box / :py:class:`QgsRectangle`).
62
- The center point can have z and m values which are the result from the midpoint operation between ``pt1`` and ``pt2``.
64
+ The center point can have m value which is the result from the midpoint
65
+ operation between ``pt1`` and ``pt2``. Z dimension is also supported and
66
+ is retrieved from the first 3D point amongst ``pt1`` and ``pt2``.
63
67
Axes are calculated from the 2D distance between ``pt1`` and ``pt2``.
64
68
The azimuth always takes the default value.
65
69
@@ -70,7 +74,9 @@ The azimuth always takes the default value.
70
74
static QgsEllipse fromCenterPoint( const QgsPoint &ptc, const QgsPoint &pt1 );
71
75
%Docstring
72
76
Constructs an ellipse by a center point and a another point.
73
- The center point keeps z and m values from ``ptc``.
77
+ The center point keeps m value from ``ptc``. Z dimension is also
78
+ supported and is retrieved from the first 3D point amongst ``ptc`` and
79
+ ``pt1``.
74
80
Axes are calculated from the 2D distance between ``ptc`` and ``pt1``.
75
81
The azimuth always takes the default value.
76
82
@@ -81,7 +87,9 @@ The azimuth always takes the default value.
81
87
static QgsEllipse fromCenter2Points( const QgsPoint &ptc, const QgsPoint &pt1, const QgsPoint &pt2 );
82
88
%Docstring
83
89
Constructs an ellipse by a central point and two other points.
84
- The center point keeps z and m values from ``ptc``.
90
+ The center point keeps m value from ``ptc``. Z dimension is also
91
+ supported and is retrieved from the first 3D point amongst ``ptc``,
92
+ ``pt1`` and ``pt2``.
85
93
Axes are calculated from the 2D distance between ``ptc`` and ``pt1`` and ``pt2``.
86
94
The azimuth is the angle between ``ptc`` and ``pt1``.
87
95
0 commit comments