rect_points: Construct vectors of points that outline a rectangle.

Description Usage Arguments Value

View source: R/Helper_functions.R

Description

Construct vectors of points that outline a rectangle.

Usage

1
rect_points(xleft, ybottom, xright, ytop, step_x, step_y)

Arguments

xleft

The left side of the rectangle

ybottom

The bottom of the rectangle

xright

The right side of the rectangle

ytop

The top of the rectangle

step_x

The step size of the x coordinates

step_y

The step size of the y coordinates

Value

List of x-coordinates and y-coordinates tracing the points around the rectangle


ivdoctr documentation built on Dec. 11, 2021, 9:32 a.m.