edu.pdx.starview.calc
Class SVAzAlt

java.lang.Object
  extended byedu.pdx.starview.calc.SVAzAlt

public class SVAzAlt
extends java.lang.Object

This represents an Azimuth and Altitude of a location in the sky.

Author:
Dave Camarillo

Field Summary
 SVAngle altitude
          The altitude above the horizon represneted in radians.
 SVAngle azimuth
          The azimuth represented in radians.
 
Constructor Summary
SVAzAlt()
          Default constructor
SVAzAlt(double az, double alt)
          Constructor
SVAzAlt(SVAngle az, SVAngle alt)
          Constructor
 
Method Summary
 SVAngle getAltitudeDMS()
           
 SVAngle getAzimuthDMS()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

azimuth

public SVAngle azimuth
The azimuth represented in radians.


altitude

public SVAngle altitude
The altitude above the horizon represneted in radians.

Constructor Detail

SVAzAlt

public SVAzAlt(SVAngle az,
               SVAngle alt)
Constructor

Parameters:
az - Azimuth of the location in the sky.
alt - Altitude of the location in the sky

SVAzAlt

public SVAzAlt(double az,
               double alt)
Constructor

Parameters:
az - The azimuth of the location in the sky in radians
alt - The altitude of the location in the sky in radians

SVAzAlt

public SVAzAlt()
Default constructor

Method Detail

getAltitudeDMS

public SVAngle getAltitudeDMS()
Returns:
The altitude of the location in the sky.

getAzimuthDMS

public SVAngle getAzimuthDMS()
Returns:
The azimuth of the location in the sky.

toString

public java.lang.String toString()
Returns:
A pretty string representation of the azimuth and altitude.