CAAAngularSeparation_SmallestCircle: CAAAngularSeparation_SmallestCircle

Description Usage Arguments Value Author(s) References Examples

View source: R/CAAAngularSeparation_SmallestCircle.R

Description

CAAAngularSeparation_SmallestCircle

Usage

1
CAAAngularSeparation_SmallestCircle(Alpha1, Delta1, Alpha2, Delta2, Alpha3, Delta3, bType1)

Arguments

Alpha1

Alpha1 The first right ascension expressed as an hour angle.

Delta1

Delta1 The first declination in degrees

Alpha2

Alpha2 The second right ascension expressed as an hour angle.

Delta2

Delta2 The second declination in degrees

Alpha3

Alpha3 The third right ascension expressed as an hour angle.

Delta3

Delta3 The third declination in degrees

bType1

bType1 Upon return will be true if the smallest circle is of type 1, otherwise false, implying smallest circle is of type 2.

Value

Returns the diameter of the smallest circle encompassing the 3 points in degrees.

Author(s)

C++ code by PJ Naughter, imported to R by Jinlong Zhang

References

Meeus, J. H. (1991). Astronomical algorithms. Willmann-Bell, Incorporated.

Examples

1
CAAAngularSeparation_SmallestCircle(Alpha1 = 10, Delta1 = 12, Alpha2 = 6, Delta2 = 11,  Alpha3 = 16, Delta3 = 33, bType1 = TRUE)

helixcn/skycalc documentation built on March 31, 2021, 5:45 a.m.