is.clockwise: Check whether points for an 'owin' are clockwise

View source: R/is.clockwise.R

is.clockwiseR Documentation

Check whether points for an owin are clockwise

Description

Check whether points for an owin are clockwise

Usage

is.clockwise(x)

Arguments

x

a data frame with x coordinates in the first column and y coordinates in the second.

Details

Similarly to owin, the polygon should not be closed

Value

A logical telling whether the polygon is arranged clockwise.

Author(s)

Mikko Vihtakari, but the idea has been scavenged from https://stackoverflow.com/a/1165943/1082004


MikkoVihtakari/sclero documentation built on March 21, 2023, 11:48 a.m.