Skip to content

Commit

Permalink
doc typo
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkirk committed Sep 5, 2024
1 parent 443916b commit 80e33a6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/geodesic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ impl Geodesic {
/// - M12 geodesic scale of point 2 relative to point 1 (dimensionless).
/// - M21 geodesic scale of point 1 relative to point 2 (dimensionless).
/// - S12 area under the geodesic (meters<sup>2</sup>).
/// - a12 arc length of between point 1 and point 2 (degrees).
/// - a12 arc length between point 1 and point 2 (degrees).
///
/// If either point is at a pole, the azimuth is defined by keeping the
/// longitude fixed, writing lat = ±(90° − ε), and taking the limit ε → 0+.
Expand Down Expand Up @@ -1054,7 +1054,7 @@ impl DirectGeodesic<(f64, f64, f64, f64, f64, f64, f64, f64)> for Geodesic {
/// - M12 geodesic scale of point 2 relative to point 1 (dimensionless).
/// - M21 geodesic scale of point 1 relative to point 2 (dimensionless).
/// - S12 area under the geodesic (meters<sup>2</sup>).
/// - a12 arc length of between point 1 and point 2 (degrees).
/// - a12 arc length between point 1 and point 2 (degrees).
fn direct(
&self,
lat1: f64,
Expand Down Expand Up @@ -1096,7 +1096,7 @@ impl DirectGeodesic<(f64, f64, f64, f64, f64, f64, f64, f64)> for Geodesic {
/// - M12 geodesic scale of point 2 relative to point 1 (dimensionless).
/// - M21 geodesic scale of point 1 relative to point 2 (dimensionless).
/// - S12 area under the geodesic (meters<sup>2</sup>).
/// - a12 arc length of between point 1 and point 2 (degrees).
/// - a12 arc length between point 1 and point 2 (degrees).
///
/// `lat1` and `lat2` should be in the range [&minus;90&deg;, 90&deg;].
/// The values of `azi1` and `azi2` returned are in the range
Expand Down Expand Up @@ -1146,7 +1146,7 @@ impl InverseGeodesic<(f64, f64)> for Geodesic {
///
/// # Returns
/// - s12 distance between point 1 and point 2 (meters).
/// - a12 arc length of between point 1 and point 2 (degrees).
/// - a12 arc length between point 1 and point 2 (degrees).
fn inverse(&self, lat1: f64, lon1: f64, lat2: f64, lon2: f64) -> (f64, f64) {
let capabilities = caps::DISTANCE;
let (a12, s12, _azi1, _azi2, _m12, _M12, _M21, _S12) =
Expand All @@ -1162,7 +1162,7 @@ impl InverseGeodesic<(f64, f64, f64)> for Geodesic {
/// # Returns
/// - azi1 azimuth at point 1 (degrees).
/// - azi2 (forward) azimuth at point 2 (degrees).
/// - a12 arc length of between point 1 and point 2 (degrees).
/// - a12 arc length between point 1 and point 2 (degrees).
fn inverse(&self, lat1: f64, lon1: f64, lat2: f64, lon2: f64) -> (f64, f64, f64) {
let capabilities = caps::AZIMUTH;
let (a12, _s12, azi1, azi2, _m12, _M12, _M21, _S12) =
Expand All @@ -1179,7 +1179,7 @@ impl InverseGeodesic<(f64, f64, f64, f64)> for Geodesic {
/// - s12 distance between point 1 and point 2 (meters).
/// - azi1 azimuth at point 1 (degrees).
/// - azi2 (forward) azimuth at point 2 (degrees).
/// - a12 arc length of between point 1 and point 2 (degrees).
/// - a12 arc length between point 1 and point 2 (degrees).
fn inverse(&self, lat1: f64, lon1: f64, lat2: f64, lon2: f64) -> (f64, f64, f64, f64) {
let capabilities = caps::DISTANCE | caps::AZIMUTH;
let (a12, s12, azi1, azi2, _m12, _M12, _M21, _S12) =
Expand All @@ -1197,7 +1197,7 @@ impl InverseGeodesic<(f64, f64, f64, f64, f64)> for Geodesic {
/// - azi1 azimuth at point 1 (degrees).
/// - azi2 (forward) azimuth at point 2 (degrees).
/// - m12 reduced length of geodesic (meters).
/// - a12 arc length of between point 1 and point 2 (degrees).
/// - a12 arc length between point 1 and point 2 (degrees).
fn inverse(&self, lat1: f64, lon1: f64, lat2: f64, lon2: f64) -> (f64, f64, f64, f64, f64) {
let capabilities = caps::DISTANCE | caps::AZIMUTH | caps::REDUCEDLENGTH;
let (a12, s12, azi1, azi2, m12, _M12, _M21, _S12) =
Expand All @@ -1216,7 +1216,7 @@ impl InverseGeodesic<(f64, f64, f64, f64, f64, f64)> for Geodesic {
/// - azi2 (forward) azimuth at point 2 (degrees).
/// - M12 geodesic scale of point 2 relative to point 1 (dimensionless).
/// - M21 geodesic scale of point 1 relative to point 2 (dimensionless).
/// - a12 arc length of between point 1 and point 2 (degrees).
/// - a12 arc length between point 1 and point 2 (degrees).
fn inverse(
&self,
lat1: f64,
Expand All @@ -1242,7 +1242,7 @@ impl InverseGeodesic<(f64, f64, f64, f64, f64, f64, f64)> for Geodesic {
/// - m12 reduced length of geodesic (meters).
/// - M12 geodesic scale of point 2 relative to point 1 (dimensionless).
/// - M21 geodesic scale of point 1 relative to point 2 (dimensionless).
/// - a12 arc length of between point 1 and point 2 (degrees).
/// - a12 arc length between point 1 and point 2 (degrees).
fn inverse(
&self,
lat1: f64,
Expand Down Expand Up @@ -1270,7 +1270,7 @@ impl InverseGeodesic<(f64, f64, f64, f64, f64, f64, f64, f64)> for Geodesic {
/// - M12 geodesic scale of point 2 relative to point 1 (dimensionless).
/// - M21 geodesic scale of point 1 relative to point 2 (dimensionless).
/// - S12 area under the geodesic (meters<sup>2</sup>).
/// - a12 arc length of between point 1 and point 2 (degrees).
/// - a12 arc length between point 1 and point 2 (degrees).
fn inverse(
&self,
lat1: f64,
Expand Down

0 comments on commit 80e33a6

Please sign in to comment.