17 #ifndef QGSPROJECTIONFACTORS_H
18 #define QGSPROJECTIONFACTORS_H
20 #include "qgis_core.h"
64 double dxDlam()
const {
return mDxDlam; }
67 double dxDphi()
const {
return mDxDphi; }
70 double dyDlam()
const {
return mDyDlam; }
73 double dyDphi()
const {
return mDyDphi; }
76 SIP_PYOBJECT __repr__();
79 if ( !sipCpp->isValid() )
81 str = QStringLiteral(
"<QgsProjectionFactors: invalid>" );
85 str = QStringLiteral(
"<QgsProjectionFactors>" );
87 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
93 bool mIsValid =
false;
94 double mMeridionalScale = 0;
95 double mParallelScale = 0;
96 double mArealScale = 0;
97 double mAngularDistortion = 0;
98 double mMeridianParallelAngle = 0;
99 double mMeridianConvergence = 0;
100 double mTissotSemimajor = 0;
101 double mTissotSemiminor = 0;
This class represents a coordinate reference system (CRS).
contains various cartographic properties, such as scale factors, angular distortion and meridian conv...
double meridianParallelAngle() const
Meridian/parallel angle (in degrees), θ′, at coordinate (λ,ϕ).
double parallelScale() const
Parallel scale at coordinate (λ,ϕ).
double dyDphi() const
Partial derivative ∂y/∂ϕ of coordinate (λ,ϕ).
double meridionalScale() const
Meridional scale at coordinate (λ,ϕ).
double meridianConvergence() const
Meridian convergence (in degrees) at coordinate (λ,ϕ). Sometimes also described as grid declination.
double arealScale() const
Areal scale factor at coordinate (λ,ϕ).
double angularDistortion() const
Angular distortion at coordinate (λ,ϕ).
double dxDlam() const
Partial derivative ∂x/∂λ of coordinate (λ,ϕ).
double dyDlam() const
Partial derivative ∂y/∂λ of coordinate (λ,ϕ).
double tissotSemiminor() const
Minimum scale factor.
bool isValid() const
Returns true if the factors are valid, or false if they could not be calculated.
double dxDphi() const
Partial derivative ∂x/∂ϕ of coordinate (λ,ϕ).
double tissotSemimajor() const
Maximum scale factor.