aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README6
-rw-r--r--libtellurian.78
-rw-r--r--libtellurian.h54
-rw-r--r--libtellurian.h.04
-rw-r--r--libtellurian_azimuthal_radius.36
-rw-r--r--libtellurian_coarse_distance.34
-rw-r--r--libtellurian_distance.36
-rw-r--r--libtellurian_effective_gravity.34
-rw-r--r--libtellurian_elevated_gravity.34
-rw-r--r--libtellurian_end_point.38
-rw-r--r--libtellurian_gaussian_radius.34
-rw-r--r--libtellurian_meridian_radius.34
-rw-r--r--libtellurian_normal_gravity.34
-rw-r--r--libtellurian_sea_level.34
-rw-r--r--libtellurian_transverse_radius.34
15 files changed, 62 insertions, 62 deletions
diff --git a/README b/README
index 6916fa9..353dbd0 100644
--- a/README
+++ b/README
@@ -1,7 +1,7 @@
NAME
libtellurian - Geodesy library
-SYNPOSIS
+SYNOPSIS
#include <libtellurian.h>
Link with -ltellurian -lm.
@@ -16,8 +16,8 @@ DESCRIPTION
function name uses the suffix "_radians", in which
case the function uses radians instead of degrees.
All functions that input or output angles have a
- version that uses degress and a version that uses
+ version that uses degrees and a version that uses
radians. Unless otherwise specified, functions that
- use degress convert the input and output to and from
+ use degrees convert the input and output to and from
radians and call the version of the function that
uses radians.
diff --git a/libtellurian.7 b/libtellurian.7
index ae3dff0..0ab50be 100644
--- a/libtellurian.7
+++ b/libtellurian.7
@@ -1,8 +1,8 @@
-.TH LIBTELLURIAN 7 libtellurian
+.TH LIBTELLURIAN 7 LIBTELLURIAN
.SH NAME
libtellurian \- Geodesy library
-.SH SYNPOSIS
+.SH SYNOPSIS
.nf
#include <libtellurian.h>
.fi
@@ -23,9 +23,9 @@ and degrees for the angle unit, except when the
function name uses the suffix \(dq_radians\(dq, in which
case the function uses radians instead of degrees.
All functions that input or output angles have a
-version that uses degress and a version that uses
+version that uses degrees and a version that uses
radians. Unless otherwise specified, functions that
-use degress convert the input and output to and from
+use degrees convert the input and output to and from
radians and call the version of the function that
uses radians.
.PP
diff --git a/libtellurian.h b/libtellurian.h
index 98309be..e96cfec 100644
--- a/libtellurian.h
+++ b/libtellurian.h
@@ -64,7 +64,7 @@
/**
* The circumference, in meters, of a sphere inscribed in the Earth's
- * spheroid and intersecting with it's pole (the circumference of
+ * spheroid and intersecting with its pole (the circumference of
* a circle with Earth's polar radius)
*/
#define LIBTELLURIAN_POLAR_CIRCUMFERENCE 39940652.74224401 /* 2bπ */
@@ -123,10 +123,10 @@
* The geocentric gravitational constant, in cubic meters per square second
*
* This is the (universal) gravitational constant (6.67430e-11) multiplied
- * by the mass of the Earth, however this value more reliable that the
- * gravitation constant and the mass of th Earth, and should thus be used
- * instead of multiplying the universial gravitational constant with the
- * the msas of the Earth
+ * by the mass of the Earth; however, this value is more reliable than the
+ * gravitational constant and the mass of the Earth. It should therefore be used
+ * instead of multiplying the universal gravitational constant by the mass of
+ * the Earth.
*/
#define LIBTELLURIAN_GEOCENTRIC_GRAVITATIONAL_CONSTANT 3.986004418e14
@@ -168,7 +168,7 @@ double libtellurian_sea_level_radians(double latitude);
/**
* Calculate the distance between two points on the Earth's surface
*
- * This function is gives an approximate value using
+ * This function gives an approximate value using
* a sphere as a model for the Earth
*
* @param latitude1 GPS latitude coordinate for the first point, in degrees
@@ -184,7 +184,7 @@ double libtellurian_coarse_distance(double latitude1, double longitude1,
/**
* Calculate the distance between two points on the Earth's surface
*
- * This function is gives an approximate value using
+ * This function gives an approximate value using
* a sphere as a model for the Earth
*
* @param latitude1 GPS latitude coordinate for the first point, in radians
@@ -200,7 +200,7 @@ double libtellurian_coarse_distance_radians(double latitude1, double longitude1,
/**
* Calculate the distance and azimuths between two points on the Earth's surface
*
- * This function is gives good approximate values
+ * This function gives good approximate values
* using an oblate spheroid as a model for the Earth
*
* @param latitude1 GPS latitude coordinate for the starting point, in degrees
@@ -213,18 +213,18 @@ double libtellurian_coarse_distance_radians(double latitude1, double longitude1,
* at the end point; or `NULL`
* @return Approximate distance between the two points
*
- * Calculating the the forward azimuths is not free, but it
+ * Calculating the forward azimuths is not free, but it
* is cheap to compute them (especially the first one) when
* most of the computations for the distance have been
* performed. If you have no need for an azimuth you can set
* the corresponding output parameter to `NULL`, and the
* function will not compute it.
*
- * If the two points are they same, the distance will be 0
+ * If the two points are the same, the distance will be 0
* and the azimuths will be NaN, denoting that any direction
* can be taken. If the two points are antipodal, the distance
* will be `LIBTELLURIAN_MERIDIONAL_CIRCUMFERENCE` and the
- * azimuths will be NaN denoting that are multiple directions
+ * azimuths will be NaN denoting that there are multiple directions
* to take, specifying either any (if the two points are the
* poles) or either north or south (and the two azimuths shall
* be the opposite of each other).
@@ -237,7 +237,7 @@ double libtellurian_distance(double latitude1, double longitude1,
/**
* Calculate the distance and azimuths between two points on the Earth's surface
*
- * This function is gives good approximate values
+ * This function gives good approximate values
* using an oblate spheroid as a model for the Earth
*
* @param latitude1 GPS latitude coordinate for the starting point, in radians
@@ -250,18 +250,18 @@ double libtellurian_distance(double latitude1, double longitude1,
* at the end point; or `NULL`
* @return Approximate distance between the two points
*
- * Calculating the the forward azimuths is not free, but it
+ * Calculating the forward azimuths is not free, but it
* is cheap to compute them (especially the first one) when
* most of the computations for the distance have been
* performed. If you have no need for an azimuth you can set
* the corresponding output parameter to `NULL`, and the
* function will not compute it.
*
- * If the two points are they same, the distance will be 0
+ * If the two points are the same, the distance will be 0
* and the azimuths will be NaN, denoting that any direction
* can be taken. If the two points are antipodal, the distance
* will be `LIBTELLURIAN_MERIDIONAL_CIRCUMFERENCE` and the
- * azimuths will be NaN denoting that are multiple directions
+ * azimuths will be NaN denoting that there are multiple directions
* to take, specifying either any (if the two points are the
* poles) or either north or south (and the two azimuths shall
* be the opposite of each other).
@@ -274,7 +274,7 @@ double libtellurian_distance_radians(double latitude1, double longitude1,
/**
* Calculate the azimuths between two points on the Earth's surface
*
- * This function is gives good approximate values
+ * This function gives good approximate values
* using an oblate spheroid as a model for the Earth
*
* @param latitude1 GPS latitude coordinate for the starting point, in degrees
@@ -286,13 +286,13 @@ double libtellurian_distance_radians(double latitude1, double longitude1,
* @param azimuth2_out Output parameter for the forward azimuth, in degrees,
* at the end point; or `NULL`
*
- * This function is identical to libtellurian_distance`
+ * This function is identical to `libtellurian_distance`.
* except it does not compute the distance between the
* points
*
- * If the two points are they same, the azimuths will be NaN,
+ * If the two points are the same, the azimuths will be NaN,
* denoting that any direction can be taken. If the two points
- * are antipodal, the azimuths will be NaN denoting that are
+ * are antipodal, the azimuths will be NaN denoting that there are
* multiple directions to take, specifying either any (if the
* two points are the poles) or either north or south (and
* the two azimuths shall be the opposite of each other).
@@ -304,7 +304,7 @@ void libtellurian_azimuth(double latitude1, double longitude1,
/**
* Calculate the azimuths between two points on the Earth's surface
*
- * This function is gives good approximate values
+ * This function gives good approximate values
* using an oblate spheroid as a model for the Earth
*
* @param latitude1 GPS latitude coordinate for the starting point, in radians
@@ -317,12 +317,12 @@ void libtellurian_azimuth(double latitude1, double longitude1,
* at the end point; or `NULL`
*
*
- * This function is identical to libtellurian_distance_radians`
+ * This function is identical to `libtellurian_distance_radians`.
* except it does not compute the distance between the points
*
- * If the two points are they same, the azimuths will be NaN,
+ * If the two points are the same, the azimuths will be NaN,
* denoting that any direction can be taken. If the two points
- * are antipodal, the azimuths will be NaN denoting that are
+ * are antipodal, the azimuths will be NaN denoting that there are
* multiple directions to take, specifying either any (if the
* two points are the poles) or either north or south (and
* the two azimuths shall be the opposite of each other).
@@ -369,7 +369,7 @@ void libtellurian_end_point_radians(double latitude1, double longitude1, double
/**
* Calculate the normal gravity for some point on
- * the Earth's surface, where the Earth's is model
+ * the Earth's surface, where the Earth is modelled
* as an oblate spheroid
*
* @param latitude GPS latitude coordinate, in degrees
@@ -380,7 +380,7 @@ double libtellurian_normal_gravity(double latitude);
/**
* Calculate the normal gravity for some point on
- * the Earth's surface, where the Earth's is model
+ * the Earth's surface, where the Earth is modelled
* as an oblate spheroid
*
* @param latitude GPS latitude coordinate, in radians
@@ -417,7 +417,7 @@ double libtellurian_effective_gravity_radians(double gravity, double latitude);
/**
* Calculate the gravity adjusted for the elevation
- * above the altitude where the gravity is measure
+ * above the altitude where the gravity is measured
*
* Altitudes above circa 100000 meters is out of range
* for this function (that would be in outer space)
@@ -432,7 +432,7 @@ double libtellurian_elevated_gravity(double gravity, double latitude, double alt
/**
* Calculate the gravity adjusted for the elevation
- * above the altitude where the gravity is measure
+ * above the altitude where the gravity is measured
*
* Altitudes above circa 100000 meters is out of range
* for this function (that would be in outer space)
diff --git a/libtellurian.h.0 b/libtellurian.h.0
index 472d35c..5907df9 100644
--- a/libtellurian.h.0
+++ b/libtellurian.h.0
@@ -1,8 +1,8 @@
-.TH LIBTELLURIAN.H 0 libtellurian
+.TH LIBTELLURIAN.H 0 LIBTELLURIAN
.SH NAME
libtellurian.h \- Geodesy library header
-.SH SYNPOSIS
+.SH SYNOPSIS
.nf
#include <libtellurian.h>
diff --git a/libtellurian_azimuthal_radius.3 b/libtellurian_azimuthal_radius.3
index a1be8aa..81c97fe 100644
--- a/libtellurian_azimuthal_radius.3
+++ b/libtellurian_azimuthal_radius.3
@@ -1,8 +1,8 @@
-.TH LIBTELLURIAN_AZIMUTHAL_RADIUS 3 libtellurian
+.TH LIBTELLURIAN_AZIMUTHAL_RADIUS 3 LIBTELLURIAN
.SH NAME
-libtellurian_azimuthal_radius \- Calculate a azimuthal radius of curvature
+libtellurian_azimuthal_radius \- Calculate an azimuthal radius of curvature
-.SH SYNPOSIS
+.SH SYNOPSIS
.nf
#include <libtellurian.h>
diff --git a/libtellurian_coarse_distance.3 b/libtellurian_coarse_distance.3
index a490ba7..c45f242 100644
--- a/libtellurian_coarse_distance.3
+++ b/libtellurian_coarse_distance.3
@@ -1,8 +1,8 @@
-.TH LIBTELLURIAN_COARSE_DISTANCE 3 libtellurian
+.TH LIBTELLURIAN_COARSE_DISTANCE 3 LIBTELLURIAN
.SH NAME
libtellurian_coarse_distance \- Calculate distance between two locations
-.SH SYNPOSIS
+.SH SYNOPSIS
.nf
#include <libtellurian.h>
diff --git a/libtellurian_distance.3 b/libtellurian_distance.3
index d477f53..f6f9135 100644
--- a/libtellurian_distance.3
+++ b/libtellurian_distance.3
@@ -1,8 +1,8 @@
-.TH LIBTELLURIAN_DISTANCE 3 libtellurian
+.TH LIBTELLURIAN_DISTANCE 3 LIBTELLURIAN
.SH NAME
libtellurian_distance \- Calculate distance between two locations
-.SH SYNPOSIS
+.SH SYNOPSIS
.nf
#include <libtellurian.h>
@@ -51,7 +51,7 @@ unless
is
.IR NULL ,
and the forward azimuth for the second point
-will be calculated and stored, in degress, in
+will be calculated and stored, in degrees, in
.I *azimuth2_out
unless
.I azimuth2_out
diff --git a/libtellurian_effective_gravity.3 b/libtellurian_effective_gravity.3
index d462964..43299a6 100644
--- a/libtellurian_effective_gravity.3
+++ b/libtellurian_effective_gravity.3
@@ -1,8 +1,8 @@
-.TH LIBTELLURIAN_EFFECTIVE_GRAVITY 3 libtellurian
+.TH LIBTELLURIAN_EFFECTIVE_GRAVITY 3 LIBTELLURIAN
.SH NAME
libtellurian_effective_gravity \- Calculate effective gravity
-.SH SYNPOSIS
+.SH SYNOPSIS
.nf
#include <libtellurian.h>
diff --git a/libtellurian_elevated_gravity.3 b/libtellurian_elevated_gravity.3
index fb728b9..4b4dcd0 100644
--- a/libtellurian_elevated_gravity.3
+++ b/libtellurian_elevated_gravity.3
@@ -1,8 +1,8 @@
-.TH LIBTELLURIAN_ELEVATED_GRAVITY 3 libtellurian
+.TH LIBTELLURIAN_ELEVATED_GRAVITY 3 LIBTELLURIAN
.SH NAME
libtellurian_elevated_gravity \- Calculate gravity at some altitude
-.SH SYNPOSIS
+.SH SYNOPSIS
.nf
#include <libtellurian.h>
diff --git a/libtellurian_end_point.3 b/libtellurian_end_point.3
index 483c6b0..d657893 100644
--- a/libtellurian_end_point.3
+++ b/libtellurian_end_point.3
@@ -1,8 +1,8 @@
-.TH LIBTELLURIAN_END_POINT 3 libtellurian
+.TH LIBTELLURIAN_END_POINT 3 LIBTELLURIAN
.SH NAME
libtellurian_end_point \- Calculate travel end-point
-.SH SYNPOSIS
+.SH SYNOPSIS
.nf
#include <libtellurian.h>
@@ -61,14 +61,14 @@ Likewise
.I azimuth1
shall be in degrees, and
.I *azimuth2_out
-will be in degress.
+will be in degrees.
.PP
The
.BR libtellurian_end_point_radians ()
function is identical to the
.BR libtellurian_end_point ()
function except that radians are
-used instead of degress for
+used instead of degrees for
.IR latitude1 ,
.IR longitude1 ,
.IR azimuth1 ,
diff --git a/libtellurian_gaussian_radius.3 b/libtellurian_gaussian_radius.3
index aaa84dc..cd6033a 100644
--- a/libtellurian_gaussian_radius.3
+++ b/libtellurian_gaussian_radius.3
@@ -1,8 +1,8 @@
-.TH LIBTELLURIAN_GAUSSIAN_RADIUS 3 libtellurian
+.TH LIBTELLURIAN_GAUSSIAN_RADIUS 3 LIBTELLURIAN
.SH NAME
libtellurian_gaussian_radius \- Calculate a Gaussian radius of curvature
-.SH SYNPOSIS
+.SH SYNOPSIS
.nf
#include <libtellurian.h>
diff --git a/libtellurian_meridian_radius.3 b/libtellurian_meridian_radius.3
index a13b12b..433d4d4 100644
--- a/libtellurian_meridian_radius.3
+++ b/libtellurian_meridian_radius.3
@@ -1,8 +1,8 @@
-.TH LIBTELLURIAN_MERIDIAN_RADIUS 3 libtellurian
+.TH LIBTELLURIAN_MERIDIAN_RADIUS 3 LIBTELLURIAN
.SH NAME
libtellurian_meridian_radius \- Calculate a meridian radius of curvature
-.SH SYNPOSIS
+.SH SYNOPSIS
.nf
#include <libtellurian.h>
diff --git a/libtellurian_normal_gravity.3 b/libtellurian_normal_gravity.3
index cc3a6fa..44ca3b5 100644
--- a/libtellurian_normal_gravity.3
+++ b/libtellurian_normal_gravity.3
@@ -1,8 +1,8 @@
-.TH LIBTELLURIAN_NORMAL_GRAVITY 3 libtellurian
+.TH LIBTELLURIAN_NORMAL_GRAVITY 3 LIBTELLURIAN
.SH NAME
libtellurian_normal_gravity \- Calculate normal gravity
-.SH SYNPOSIS
+.SH SYNOPSIS
.nf
#include <libtellurian.h>
diff --git a/libtellurian_sea_level.3 b/libtellurian_sea_level.3
index 9401641..e6394b3 100644
--- a/libtellurian_sea_level.3
+++ b/libtellurian_sea_level.3
@@ -1,8 +1,8 @@
-.TH LIBTELLURIAN_SEA_LEVEL 3 libtellurian
+.TH LIBTELLURIAN_SEA_LEVEL 3 LIBTELLURIAN
.SH NAME
libtellurian_sea_level \- Calculate a geocentric radius
-.SH SYNPOSIS
+.SH SYNOPSIS
.nf
#include <libtellurian.h>
diff --git a/libtellurian_transverse_radius.3 b/libtellurian_transverse_radius.3
index aa24be4..27ceece 100644
--- a/libtellurian_transverse_radius.3
+++ b/libtellurian_transverse_radius.3
@@ -1,8 +1,8 @@
-.TH LIBTELLURIAN_TRANSVERSE_RADIUS 3 libtellurian
+.TH LIBTELLURIAN_TRANSVERSE_RADIUS 3 LIBTELLURIAN
.SH NAME
libtellurian_transverse_radius \- Calculate a transverse radius of curvature
-.SH SYNPOSIS
+.SH SYNOPSIS
.nf
#include <libtellurian.h>