pconvex: Convex verification

Description Usage Arguments Value Examples

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) 

psda documentation built on June 25, 2019, 1:03 a.m.