Description Usage Arguments Value Author(s) References Examples
View source: R/CAAAngularSeparation_SmallestCircle.R
CAAAngularSeparation_SmallestCircle
1 | CAAAngularSeparation_SmallestCircle(Alpha1, Delta1, Alpha2, Delta2, Alpha3, Delta3, bType1)
|
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. |
Returns the diameter of the smallest circle encompassing the 3 points in degrees.
C++ code by PJ Naughter, imported to R by Jinlong Zhang
Meeus, J. H. (1991). Astronomical algorithms. Willmann-Bell, Incorporated.
1 | CAAAngularSeparation_SmallestCircle(Alpha1 = 10, Delta1 = 12, Alpha2 = 6, Delta2 = 11, Alpha3 = 16, Delta3 = 33, bType1 = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.