1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
|
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/proj/qgsprojectionfactors.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsProjectionFactors
{
%Docstring(signature="appended")
contains various cartographic properties, such as scale factors, angular
distortion and meridian convergence.
.. versionadded:: 3.20
%End
%TypeHeaderCode
#include "qgsprojectionfactors.h"
%End
public:
bool isValid() const;
%Docstring
Returns ``True`` if the factors are valid, or ``False`` if they could
not be calculated.
%End
double meridionalScale() const;
%Docstring
Meridional scale at coordinate (λ,ϕ).
%End
double parallelScale() const;
%Docstring
Parallel scale at coordinate (λ,ϕ).
%End
double arealScale() const;
%Docstring
Areal scale factor at coordinate (λ,ϕ).
%End
double angularDistortion() const;
%Docstring
Angular distortion at coordinate (λ,ϕ).
%End
double meridianParallelAngle() const;
%Docstring
Meridian/parallel angle (in degrees), θ′, at coordinate (λ,ϕ).
%End
double meridianConvergence() const;
%Docstring
Meridian convergence (in degrees) at coordinate (λ,ϕ). Sometimes also
described as grid declination.
%End
double tissotSemimajor() const;
%Docstring
Maximum scale factor.
%End
double tissotSemiminor() const;
%Docstring
Minimum scale factor.
%End
double dxDlam() const;
%Docstring
Partial derivative ∂x/∂λ of coordinate (λ,ϕ).
%End
double dxDphi() const;
%Docstring
Partial derivative ∂x/∂ϕ of coordinate (λ,ϕ).
%End
double dyDlam() const;
%Docstring
Partial derivative ∂y/∂λ of coordinate (λ,ϕ).
%End
double dyDphi() const;
%Docstring
Partial derivative ∂y/∂ϕ of coordinate (λ,ϕ).
%End
SIP_PYOBJECT __repr__();
%MethodCode
QString str;
if ( !sipCpp->isValid() )
{
str = QStringLiteral( "<QgsProjectionFactors: invalid>" );
}
else
{
str = QStringLiteral( "<QgsProjectionFactors>" );
}
sipRes = PyUnicode_FromString( str.toUtf8().constData() );
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/proj/qgsprojectionfactors.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
|