pconvex: Convex verification

Description Usage Arguments Value Examples

View source: R/pconvex.R

Description

Verify convexity of the polygons.

Usage

1

Arguments

polygon

A matrix with dimension l x 2, where l represent number of sides polygon.

Value

A boolean.

Examples

1
2
3
x <- psim(10, 10) #simulate 10 polygons of 10 sides
x <- x[[1]] 
pconvex(x) 

wagnerjorge/psda documentation built on Jan. 30, 2021, 1:59 a.m.