|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.database.CelestialDivisionMap
The CelestialDivisionMap
represents a flag map of the
celestial globe divided per 10 minutes in R.A. and per 1 degree in
Decl.
Field Summary | |
private static Coor[] |
center_coor
The central R.A. |
private static Coor[] |
end_coor
The R.A. |
protected boolean[] |
flag_map
The flag map. |
private static double |
mesh_radius
The radius of each cell. |
private static Coor[] |
start_coor
The R.A. |
Constructor Summary | |
CelestialDivisionMap()
Constructs a CelestialDivisionMap . |
Method Summary | |
(package private) static void |
Sets the R.A. |
CelestialDivisionMap |
expand(double radius)
Expands the filled areas. |
void |
fill(Coor coor,
double radius)
Fills areas which overlaps on the circle represented by the specified R.A. |
void |
fillAll()
Fills all areas. |
static java.util.Vector |
getCoorFolderHierarchy(Coor coor)
Creates the database folder hierarchy of the specified R.A. |
int |
getFirstIndex()
Gets the first index where the flag is set as true. |
java.util.Vector |
getFolderHierarchyAt(int index)
Gets the folder hierarchy at the specified index. |
int |
getNextIndex(int last_index)
Gets the next index where the flag is set as true. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
Field Detail |
protected boolean[] flag_map
private static Coor[] start_coor
private static Coor[] end_coor
private static Coor[] center_coor
private static double mesh_radius
Constructor Detail |
public CelestialDivisionMap()
CelestialDivisionMap
.Method Detail |
public void fill(Coor coor, double radius)
coor
- the center position of the circle.radius
- the radius of the circle in degree.public void fillAll()
public CelestialDivisionMap expand(double radius)
radius
- the radius to expand in degree.public int getFirstIndex()
public int getNextIndex(int last_index)
last_index
- the last index.public java.util.Vector getFolderHierarchyAt(int index)
index
- the index.public static java.util.Vector getCoorFolderHierarchy(Coor coor)
coor
- the R.A. and Decl.static void()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |