drawArc: Compute the points on an arc starting with the coordinates of...

Description Usage Arguments Value Author(s)

Description

Compute the points on an arc based on the coordinates of the starting and ending points

Usage

1
drawArc(x, y, center, r, ...)

Arguments

x

a two-item numeric vector for the xy coordinates of the starting point relative to the center point

y

a two-item numeric vector for the xy coordinates of the ending point relative to the center point

center

a two-item numeric vector for the xy coordinates of the center point for the arc

r

a numeric value for the radius of the circle

...

Optional argment to specify the number of points on the arc

Value

a two-column matrix of xy coordinates for points along the arc

Author(s)

Elliot Noma


PlotRegionHighlighter documentation built on May 2, 2019, 9:34 a.m.