Package uk.ac.starlink.ttools.plot2.geom
Class SkyFov
java.lang.Object
uk.ac.starlink.ttools.plot2.geom.SkyFov
Characterises a field of view on the sky for presentation to the user.
The values in degrees should be rounded in decimal to
a level of precision suitable for presentation to the user,
given the pixel precision of the known plotting surface.
The values are therefore approximate, and may in any case be
rather rough depending on the geometry involved (which may not
lend itself to description as a cone).
- Since:
- 25 Jul 2017
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns central latitude in degrees.double
Returns central longitude in degrees.double
Returns field of view radius in degrees.
-
Constructor Details
-
SkyFov
public SkyFov(double lonDeg, double latDeg, double radiusDeg) Constructor.- Parameters:
lonDeg
- central longitude in degreeslatDeg
- central latitude in degreesradiusDeg
- radius in degrees
-
-
Method Details
-
getLonDeg
public double getLonDeg()Returns central longitude in degrees.- Returns:
- longitude
-
getLatDeg
public double getLatDeg()Returns central latitude in degrees.- Returns:
- latitude
-
getRadiusDeg
public double getRadiusDeg()Returns field of view radius in degrees.- Returns:
- radius
-