Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jdugge authored and nyalldawson committed Jan 7, 2019
1 parent 3e05c99 commit bf5a077
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions python/core/auto_generated/qgsdistancearea.sip.in
Expand Up @@ -194,7 +194,7 @@ Measures the perimeter of a polygon geometry.
Measures the length of a line with multiple segments.

:param points: list of points in line
:param forceCartesian: calculate distances in cartesian coordinates
:param forceCartesian: calculate distances in Cartesian coordinates

:return: length of line. The units for the returned length can be retrieved by calling lengthUnits().

Expand All @@ -207,7 +207,7 @@ Measures the distance between two points.

:param p1: start of line
:param p2: end of line
:param forceCartesian: calculate distances in cartesian coordinates
:param forceCartesian: calculate distances in Cartesian coordinates

:return: distance between points. The units for the returned distance can be retrieved by calling lengthUnits().

Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsmeasuredialog.h
Expand Up @@ -102,7 +102,7 @@ class APP_EXPORT QgsMeasureDialog : public QDialog, private Ui::QgsMeasureBase
bool useMapUnits = false;

/**
* Indicates whether we need to measure distances in cartesian instead of
* Indicates whether we need to measure distances in Cartesian instead of
* spherical coordinates, such as when measuring in degrees in a geographic CRS
*/
bool forceCartesian = true;
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgsdistancearea.h
Expand Up @@ -165,7 +165,7 @@ class CORE_EXPORT QgsDistanceArea
/**
* Measures the length of a line with multiple segments.
* \param points list of points in line
* \param forceCartesian calculate distances in cartesian coordinates
* \param forceCartesian calculate distances in Cartesian coordinates
* \returns length of line. The units for the returned length can be retrieved by calling lengthUnits().
* \see lengthUnits()
*/
Expand All @@ -175,7 +175,7 @@ class CORE_EXPORT QgsDistanceArea
* Measures the distance between two points.
* \param p1 start of line
* \param p2 end of line
* \param forceCartesian calculate distances in cartesian coordinates
* \param forceCartesian calculate distances in Cartesian coordinates
* \returns distance between points. The units for the returned distance can be retrieved by calling lengthUnits().
* \see lengthUnits()
*/
Expand Down

0 comments on commit bf5a077

Please sign in to comment.