isClosed: Check if Polygon is Closed

isClosedR Documentation

Check if Polygon is Closed

Description

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

Usage

isClosed(coords)

Arguments

coords

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

Value

logical


bastistician/polyCub documentation built on Feb. 3, 2024, 5:41 p.m.