Check if Polygon is Closed

Description

Check if the first and last coordinates of a coordinate matrix are identical.

Usage

1
isClosed(coords)

Arguments

coords

numeric coordinate matrix. It is interpreted by xy.coords.

Value

logical


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.