arcAngle: Arc of a Circle

Description Usage Arguments Value

Description

Compute the arc between two points with its angular distance.

Usage

1
arcAngle(pt1, pt2, alpha = 45, n = 100, inv = FALSE)

Arguments

pt1

a numeric vector of length 2 giving the coordinates (x and y) of the first point.

pt2

a numeric vector of length 2 giving the coordinates (x and y) of the second point.

alpha

a numeric giving the value of the central angle (angular distance in degrees).

n

the number of points to generate.

inv

a logical. Since there are two solutions, can be used to get the second arc.

Value

A two-column matrix of points coordinates.


Hackout2/epimap documentation built on May 6, 2019, 9:47 p.m.