A set of points defining a circle or an arc

Share:

Description

A set of xy coordinates defining a circle or an arc on the circle

Usage

1
createCircle(center, r, n = 40, begin = 0, end = 2 * pi)

Arguments

center

a two-item vector of the x and y coordinates of the circle center

r

a numeric value defining the radius of the circle

n

a numeric value defining the number of points on the circle

begin

a numeric value for the starting angle of the circle or arc in radians

end

a numeric value for the ending angle of the circle or arc in radians

Value

a two-column matrix of xy coordinates for points on the circle or arc

Author(s)

Elliot Noma