Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ghsc
Hazards Development Team
earthquake-geoserve-ui
Commits
42f9ca7d
Commit
42f9ca7d
authored
Sep 25, 2019
by
Jeremy M Fee
Committed by
Edward J Hunter
Oct 15, 2021
Browse files
Add comment to getDistanceAzimuth method
parent
2392bae6
Changes
1
Hide whitespace changes
Inline
Side-by-side
projects/hazdev-ng-geoserve-output/src/lib/distance-azimuth.ts
View file @
42f9ca7d
...
...
@@ -9,6 +9,18 @@ export interface DistanceAzimuth {
distance
:
number
;
}
/**
* Compute distance and azimuth from place to reference place.
*
* @param place
* starting place.
* @param referencePlace
* optional destination place.
* @return
* When reference place is specified:
* calculate direction and azimuth from place to referencePlace.
* Otherwise return distance and azimuth from place.
*/
export
function
getDistanceAzimuth
(
place
:
Place
,
referencePlace
?:
Place
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment