final class Chomper extends Object
Note that the numbers passed to these methods use the 'byte numbers' typically specified by a catalog, and those numbers start at 1, not 0.
Modifier and Type | Method and Description |
---|---|
(package private) double |
forDeclination(int aSign,
int aDegStart,
int aDegEnd,
int aMinStart,
int aMinEnd,
int aSecStart,
int aSecEnd)
Declination of a star in radians.
|
(package private) double |
forDouble(int aStart,
int aEnd)
Number with a decimal portion.
|
(package private) int |
forInt(int aStart,
int aEnd)
Simple integer, no decimal.
|
(package private) double |
forMagnitude(int aMagStart,
int aMagEnd)
The magnitude of a star.
|
(package private) double |
forRightAscension(int aHourStart,
int aHourEnd,
int aMinStart,
int aMinEnd,
int aSecStart,
int aSecEnd)
Right Ascension of a star in radians.
|
(package private) String |
forText(int aIndex)
Text for a single byte at the given index.
|
(package private) String |
forText(int aStart,
int aEnd)
Chunk of text.
|
(package private) boolean |
isMissing(int aStart,
int aEnd)
Return true only if the given text has no content.
|
int forInt(int aStart, int aEnd)
double forDouble(int aStart, int aEnd)
double forRightAscension(int aHourStart, int aHourEnd, int aMinStart, int aMinEnd, int aSecStart, int aSecEnd)
double forDeclination(int aSign, int aDegStart, int aDegEnd, int aMinStart, int aMinEnd, int aSecStart, int aSecEnd)
double forMagnitude(int aMagStart, int aMagEnd)
boolean isMissing(int aStart, int aEnd)
Starfield - Copyright Hirondelle Systems. Published March 1, 2014