Function inMoc( mocLocation, ra, dec )
- Description:
-
Indicates whether a given sky position falls strictly within a given MOC
(Multi-Order Coverage map).
If the given
mocLocation
value does not represent
a MOC (for instance no file exists or the file is not in MOC format)
a warning will be issued the first time it's referenced, and
the result will be false.
- Parameters:
-
- mocLocation (String)
- location of a FITS MOC file:
a filename, a URL, or a VizieR table name
- ra (floating point)
- ICRS right ascension in degrees
- dec (floating point)
- ICRS declination in degrees
- Return Value (boolean):
- true iff the given position falls within the given MOC
- Signature:
- boolean inMoc(String, double, double)