public interface SkyObject
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommonId() |
java.lang.String |
getId()
If the object has a commonId return that; otherwise if it has another id return that;
otherwise return an empty string.
|
Magnitude |
getMagnitude()
If the object's magnitude is unknown this returns null.
|
SkyVector |
getOffsetFromTarget()
Typically the offset from the centre of a star chart or the axis of a cone search.
|
java.awt.Point |
getPlotPoint()
Set when the object is first plotted, to avoid recalculation when redrawing.
|
SkyPoint |
getPosition()
If the object's position is unknown this returns null.
|
void |
setMagnitude(Magnitude m) |
void |
setOffsetFromTarget(SkyVector offset) |
void |
setPlotPoint(java.awt.Point pt) |
void |
setPosition(SkyPoint pt) |
java.lang.String getId()
java.lang.String getCommonId()
SkyPoint getPosition()
void setPosition(SkyPoint pt)
Magnitude getMagnitude()
void setMagnitude(Magnitude m)
java.awt.Point getPlotPoint()
void setPlotPoint(java.awt.Point pt)
SkyVector getOffsetFromTarget()
void setOffsetFromTarget(SkyVector offset)