Skip to content

Commit

Permalink
v2.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cormullion committed Mar 8, 2021
1 parent c7a3e7f commit 07d4782
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## [v2.10.0] - 2021-0....
## [v2.10.0] - 2021-03-08

### Added

Expand Down
2 changes: 2 additions & 0 deletions src/polygons.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ function poly(pointlist::Array{Point, 1}, action::Symbol = :none;
return pointlist
end

poly(pts::NTuple{N, Point} where N, action::Symbol=:none; kwargs...) = poly(collect(pts), action; kwargs...)

"""
Find the centroid of simple polygon.
Expand Down

0 comments on commit 07d4782

Please sign in to comment.