Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mamantoha committed Apr 11, 2024
1 parent 08108b0 commit cf1028b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ coordinates = [
RingArea.ring_area(coordinates)
# => 7748891609977.456
```
Accepts an `Array(Array(Number))` of Ring Coordinates.
Accepts an `Array(Array(Number))` of Ring Coordinates as `[[longitude1, latitude1], [longitude2, latitude2], ...]`.

Returns the approximate signed geodesic area of the polygon in square meters.

Expand Down
2 changes: 1 addition & 1 deletion src/ring_area.cr
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module RingArea
# JPL Publication 07-03, Jet Propulsion
# Laboratory, Pasadena, CA, June 2007 https://trs.jpl.nasa.gov/handle/2014/40409
#
# `coords` - Ring Coordinates as [[longitude, latitude], ...]
# `coords` - Ring Coordinates as `[[longitude1, latitude1], [longitude2, latitude2], ...]`
#
# Return the approximate signed geodesic area of the polygon in square meters.
#
Expand Down

0 comments on commit cf1028b

Please sign in to comment.