public class SkyObjectDatabase.Neighbour extends java.lang.Object implements java.lang.Comparable<SkyObjectDatabase.Neighbour>
| Constructor and Description |
|---|
SkyObjectDatabase.Neighbour(Angle sepn,
Star star) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SkyObjectDatabase.Neighbour other)
Assumes other is less than 360 degrees because it has been computed as a spherical separation.
|
Angle |
getSeparation() |
Star |
getStar() |
public Angle getSeparation()
public Star getStar()
public int compareTo(SkyObjectDatabase.Neighbour other)
compareTo in interface java.lang.Comparable<SkyObjectDatabase.Neighbour>