stella
Class AbstractTarget.Aim

java.lang.Object
  extended by stella.AbstractTarget.Aim
All Implemented Interfaces:
Serializable
Enclosing class:
AbstractTarget

public static class AbstractTarget.Aim
extends Object
implements Serializable

The class describing the celestial aim in the target. It consits of a catalog-name, possibly a database record number for fast access, astrometrical data collected in a StarDescription and stars in this object's vicinity, the field-of-view. The field-of-view is a list of StarDescriptions.

See Also:
Serialized Form

Field Summary
private  List<StarDescription> fov
          The list of field stars.
private  StarDescription main
          The star description of the main target.
private  int rec
          The record number in the database.
 
Constructor Summary
AbstractTarget.Aim(StarDescription principal, int record, List<StarDescription> field)
          Constructs a new celestial target.
 
Method Summary
 List<StarDescription> getFieldOfView()
          Returns the list of field stars.
 StarDescription getMain()
          Returns the main star, total data.
 int getRecordNumber()
          Returns the record number or -1 if it is unknown.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rec

private int rec
The record number in the database. Negativ numbers mean undefined.


main

private StarDescription main
The star description of the main target.


fov

private List<StarDescription> fov
The list of field stars. Each entry is a StarDescription.

Constructor Detail

AbstractTarget.Aim

public AbstractTarget.Aim(StarDescription principal,
                          int record,
                          List<StarDescription> field)
Constructs a new celestial target. Undefined recoed numbers should be declared as negativ values. The catalog name of the main star must always be specified. The list of field stars must contain the main star as the first entry.

Parameters:
principal - The main star. Name is catalog name.
record - The database record number or -1 if unknown.
field - The stars in the field-of-view around the main star.
Method Detail

getRecordNumber

public int getRecordNumber()
Returns the record number or -1 if it is unknown.


getMain

public StarDescription getMain()
Returns the main star, total data.


getFieldOfView

public List<StarDescription> getFieldOfView()
Returns the list of field stars. The first entry in the list is always the target star.

Returns:
A list of StarDescriptions.