compute_circle: Compute a circle with a given centre and radius

Description Usage Arguments Value Examples

View source: R/compute_circle.R

Description

Computes a circle for a given centre and radius, and stores the results in a data frame.

Usage

1
compute_circle(c0, r0, n = 360)

Arguments

c0

A vector of length two containing the (x, y) co-ordinates of the centre of the circle.

r0

The radius of the circle.

n

The number of points from which to construct the circle.

Value

A data frame containing the (x, y) co-ordinates of the circle.

Examples

1
compute_circle(c0 = c(1, 2), r = 5, n = 100)

marcusvolz/steiner documentation built on April 25, 2018, 12:14 p.m.