Fixed the ambiguity in geo functions description.

This commit is contained in:
BayoNet 2018-10-26 11:09:22 +03:00
parent 1f8a79e9f7
commit 7e59228da8
2 changed files with 10 additions and 12 deletions

View File

@ -10,10 +10,10 @@ greatCircleDistance(lon1Deg, lat1Deg, lon2Deg, lat2Deg)
**Input parameters** **Input parameters**
- `lon1Deg` — Latitude of the first point in degrees. Range: `[-90°, 90°]`. - `lon1Deg` — Longitude of the first point in degrees. Range: `[-180°, 180°]`.
- `lat1Deg` — Longitude of the first point in degrees. Range: `[-180°, 180°]`. - `lat1Deg` — Latitude of the first point in degrees. Range: `[-90°, 90°]`.
- `lon2Deg` — Latitude of the second point in degrees. Range: `[-90°, 90°]`. - `lon2Deg` — Longitude of the second point in degrees. Range: `[-180°, 180°]`.
- `lat2Deg` — Longitude of the second point in degrees. Range: `[-180°, 180°]`. - `lat2Deg` — Latitude of the second point in degrees. Range: `[-90°, 90°]`.
Positive values correspond to North latitude and East longitude, and negative values correspond to South latitude and West longitude. Positive values correspond to North latitude and East longitude, and negative values correspond to South latitude and West longitude.
@ -45,8 +45,7 @@ pointInEllipses(x, y, x₀, y₀, a₀, b₀,...,xₙ, yₙ, aₙ, bₙ)
**Input parameters** **Input parameters**
- `x` — Latitude of the point. - `x, y` — Coordinates of a point on the plane.
- `y` — Longitude of the point.
- `xᵢ, yᵢ` — Coordinates of the center of the `i`-th ellipsis. - `xᵢ, yᵢ` — Coordinates of the center of the `i`-th ellipsis.
- `aᵢ, bᵢ` — Axes of the `i`-th ellipsis in meters. - `aᵢ, bᵢ` — Axes of the `i`-th ellipsis in meters.

View File

@ -10,10 +10,10 @@ greatCircleDistance(lon1Deg, lat1Deg, lon2Deg, lat2Deg)
**Входные параметры** **Входные параметры**
- `lon1Deg`широта первой точки в градусах. Диапазон — `[-90°, 90°]`. - `lon1Deg`долгота первой точки в градусах. Диапазон — `[-180°, 180°]`.
- `lat1Deg`долгота первой точки в градусах. Диапазон — `[-180°, 180°]`. - `lat1Deg`широта первой точки в градусах. Диапазон — `[-90°, 90°]`.
- `lon2Deg`широта второй точки в градусах. Диапазон — `[-90°, 90°]`. - `lon2Deg`долгота второй точки в градусах. Диапазон — `[-180°, 180°]`.
- `lat2Deg`долгота второй точки в градусах. Диапазон — `[-180°, 180°]`. - `lat2Deg`широта второй точки в градусах. Диапазон — `[-90°, 90°]`.
Положительные значения соответствуют северной широте и восточной долготе, отрицательные — южной широте и западной долготе. Положительные значения соответствуют северной широте и восточной долготе, отрицательные — южной широте и западной долготе.
@ -45,8 +45,7 @@ pointInEllipses(x, y, x₀, y₀, a₀, b₀,...,xₙ, yₙ, aₙ, bₙ)
**Входные параметры** **Входные параметры**
- `x` — широта точки. - `x, y` — координаты точки на плоскости.
- `y` — долгота точки.
- `xᵢ, yᵢ` — координаты центра `i`-го эллипса. - `xᵢ, yᵢ` — координаты центра `i`-го эллипса.
- `aᵢ, bᵢ` — полуоси `i`-го эллипса в метрах. - `aᵢ, bᵢ` — полуоси `i`-го эллипса в метрах.