Skip to content
Permalink
Browse files

More cont'ness for QgsDistanceArea

  • Loading branch information
m-kuhn committed Oct 4, 2013
1 parent dae9b5d commit 6d5cf6fd98f0a7456d9aaee9bc0ae5cf9420ec3c
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/qgsdistancearea.h
@@ -64,7 +64,7 @@ class CORE_EXPORT QgsDistanceArea
//! returns source spatial reference system
long sourceCrs() const { return mSourceRefSys; }
//! What sort of coordinate system is being used?
bool geographic() { return mCoordTransform->sourceCrs().geographicFlag(); }
bool geographic() const { return mCoordTransform->sourceCrs().geographicFlag(); }

//! sets ellipsoid by its acronym
bool setEllipsoid( const QString& ellipsoid );
@@ -74,7 +74,7 @@ class CORE_EXPORT QgsDistanceArea
bool setEllipsoid( double semiMajor, double semiMinor );

//! returns ellipsoid's acronym
const QString& ellipsoid() { return mEllipsoid; }
const QString& ellipsoid() const { return mEllipsoid; }

//! returns ellipsoid's semi major axis
double ellipsoidSemiMajor() { return mSemiMajor; }

0 comments on commit 6d5cf6f

Please sign in to comment.
You can’t perform that action at this time.