rotate: Rotation of polygon

Description Usage Arguments

View source: R/misc.r

Description

Rotation of polygon

Usage

1
rotate(mat, origin, alpha)

Arguments

mat

Two-column numeric matrix. Coordinates of the polygon.

origin

Numeric vector of length two. Origin.

alpha

Numeric scalar. Rotation degree in radians.


USCbiostats/polygons documentation built on May 27, 2021, 2:34 a.m.