rectVertices: Generate rectangular polygon vertices

rectVerticesR Documentation

Generate rectangular polygon vertices

Description

Generates vertex coordinates for a rectangle with dimensions given through dims param.

Usage

rectVertices(dims)

Arguments

dims

named vector in the style of c(x = numeric, y = numeric) that defines the width (x) and height (y) of the generated rectangle polygon.

Value

a data.table of rectangle vertices

See Also

polyStamp circleVertices hexVertices


drieslab/Giotto_site_suite documentation built on April 26, 2023, 11:51 p.m.