Function nearMoc( mocLocation, ra, dec, distanceDeg )
- Description:
-
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).
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
- distanceDeg (floating point)
- permitted distance from MOC boundary in degrees
- Return Value (boolean):
- true iff the given position is within
distance
degrees of the given MOC
- Signature:
- boolean nearMoc(String, double, double, double)