|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.catalog.io.CatalogReader | +--net.aerith.misao.catalog.io.FileReader | +--net.aerith.misao.catalog.io.HipparcosReader
The HipparcosReader
is a class to read the Hipparcos
Catalogue.
The (x,y) position is also set properly so that (0,0) represents the specified R.A. and Decl. to open method and (1,1) represents the position 1 deg to the west and 1 deg to the north.
Field Summary | |
static int[] |
decl_end
The largest Decl. |
static int[] |
decl_start
The smallest Decl. |
static int[] |
ra_end
The largest R.A. |
static int[] |
ra_start
The smallest R.A. |
Fields inherited from class net.aerith.misao.catalog.io.FileReader |
circum_area,
current_block,
current_index,
reader |
Fields inherited from class net.aerith.misao.catalog.io.CatalogReader |
center_coor,
date,
limiting_mag,
url_set |
Constructor Summary | |
HipparcosReader()
Constructs an empty HipparcosReader . |
|
HipparcosReader(java.net.URL url)
Constructs a HipparcosReader with URL of the catalog
file. |
Method Summary | |
(package private) static void |
Sets the R.A. |
CatalogStar |
createStar(java.lang.String record)
Creates a CatalogStar object from the specified
one line record in the file. |
long |
getBlockCount()
Gets the number of blocks in a file. |
long |
getBlockSize()
Gets the number of records in a block. |
java.lang.String |
getHelpMessage()
Gets the help message. |
double |
getMaximumPositionErrorInArcsec()
Gets the maximum error of position in arcsec. |
java.lang.String |
getName()
Gets the catalog name. |
long |
getRecordSize()
Gets the characters of a record. |
boolean |
overlapsBlock()
Checks if the current block is overlapping on the specified circum area. |
boolean |
supportsExamination()
Checks if the catalog supports the use in PIXY examination. |
Methods inherited from class net.aerith.misao.catalog.io.FileReader |
close,
isFile,
open,
readNext |
Methods inherited from class net.aerith.misao.catalog.io.CatalogReader |
addURL,
getDateLimit,
getDateLimitMessage,
getFovLimit,
getFovLimitMessage,
hasDateLimit,
hasFovLimit,
isDateDependent,
isInDirectory,
open,
read,
setDate,
setDefaultURL,
setLimitingMagnitude |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
Field Detail |
public static int[] ra_start
public static int[] ra_end
public static int[] decl_start
public static int[] decl_end
Constructor Detail |
public HipparcosReader()
HipparcosReader
.public HipparcosReader(java.net.URL url)
HipparcosReader
with URL of the catalog
file.url
- the URL of the catalog file.Method Detail |
public java.lang.String getName()
public boolean supportsExamination()
public double getMaximumPositionErrorInArcsec()
public CatalogStar createStar(java.lang.String record)
CatalogStar
object from the specified
one line record in the file. If some more records are required
to create a star object, it returns null. This method must be
overrided in the subclasses.record
- the one line record in the file.public java.lang.String getHelpMessage()
public long getBlockCount()
public long getBlockSize()
public long getRecordSize()
public boolean overlapsBlock()
static void()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |