Learn R Programming

polyCub (version 0.9.1)

isClosed: Check if Polygon is Closed

Description

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

Usage

isClosed(coords)

Value

logical

Arguments

coords

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