isClosed: Check if Polygon is Closed

Description Usage Arguments Value

View source: R/tools.R

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


polyCub documentation built on Oct. 2, 2017, 5:03 p.m.