public class Coverage extends Object
One coverage standard is Multi-Order Coverage maps, described at http://www.ivoa.net/Documents/MOC/. MOC positions are always defined in ICRS equatorial coordinates.
MOCs may be specified using a string argument of the functions in one of the following ways:
V/139/sdss9
" (SDSS DR9)1/1 2 4 2/12-14 21 23 25 8/
"A list of all the MOCs available from VizieR can
currently be found at
http://alasky.u-strasbg.fr/footprints/tables/vizier/.
You can search for VizieR table identifiers from the
VizieR web page
(http://vizier.u-strasbg.fr/);
note you must use
the table identifier (like "V/139/sdss9
")
and not the catalogue identifier (like "V/139
").
Modifier and Type | Method and Description |
---|---|
static boolean |
inMoc(String moc,
double ra,
double dec)
Indicates whether a given sky position falls strictly within a given MOC
(Multi-Order Coverage map).
|
static boolean |
nearMoc(String moc,
double ra,
double dec,
double distanceDeg)
Indicates whether a given sky position either falls within,
or is within a certain distance of the edge of,
a given MOC (Multi-Order Coverage map).
|
public static boolean inMoc(String moc, double ra, double dec)
moc
value does not represent a MOC
(for instance no file exists or the file/string is not in MOC format)
a warning will be issued the first time it's referenced, and
the result will be false.moc
- a MOC identifier;
a filename, a URL, a VizieR table name,
or an ASCII MOC stringra
- ICRS right ascension in degreesdec
- ICRS declination in degreespublic static boolean nearMoc(String moc, double ra, double dec, double distanceDeg)
moc
value does not represent a MOC
(for instance no file exists or the file/string is not in MOC format)
a warning will be issued the first time it's referenced, and
the result will be false.moc
- a MOC identifier;
a filename, a URL, a VizieR table name,
or an ASCII MOC stringra
- ICRS right ascension in degreesdec
- ICRS declination in degreesdistanceDeg
- permitted distance from MOC boundary in degreesdistance
degrees of the given MOCCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.