faa.tg.atcview.display
Class DisplayCenter

java.lang.Object
  extended by faa.tg.pointmodel.Position
      extended by faa.tg.atcview.display.DisplayCenter
All Implemented Interfaces:
Immutable, java.io.Serializable
Direct Known Subclasses:
DisplayCenterFix

public class DisplayCenter
extends Position

 This class defines DisplayCenter which is the center of the display.
 
See the source: DisplayCenter.java

Version:
$Id: DisplayCenter.java,v 1.2 2008/08/20 20:27:55 lonnies Exp $
Author:
Dan Warburton, FAA/ACB-860
See Also:
Serialized Form

Field Summary
static java.lang.String CVS_VERSION_ID
          The CVS Version ID.
 
Fields inherited from class faa.tg.pointmodel.Position
ZERO
 
Constructor Summary
DisplayCenter(Latitude lat, Longitude lon)
          Constructs a DisplayCenter at a specified latitude and longitude, for an altitude of zero.
DisplayCenter(Position position)
          Constructs a DisplayCenter at a specified Position.
 
Method Summary
 java.lang.String toString()
          Returns a string representation of this object.
 Element toXml()
           
 
Methods inherited from class faa.tg.pointmodel.Position
bearingTo, calcGeoCenter, calcNED_VelocityVector, createPositionList, equals, equalsLatLon, getAltitude, getLatitude, getLongitude, getPointOfIntercept, getX, getY, greatCircleDistTo, greatCircleDistTo, horizSeparation, linearDistTo, main, rhumbLineDistTo, rhumbLineHeadingTo, toDraText, toDraTextXY, toLatLonString, toLatLonText, toText, vectorTo, vertSeparation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CVS_VERSION_ID

public static final java.lang.String CVS_VERSION_ID
The CVS Version ID.

See Also:
Constant Field Values
Constructor Detail

DisplayCenter

public DisplayCenter(Latitude lat,
                     Longitude lon)
Constructs a DisplayCenter at a specified latitude and longitude, for an altitude of zero.


DisplayCenter

public DisplayCenter(Position position)
Constructs a DisplayCenter at a specified Position.

Method Detail

toXml

public Element toXml()

toString

public java.lang.String toString()
Description copied from class: Position
Returns a string representation of this object. In general, the toString method returns a String that "textually represents" this object.

Overrides:
toString in class Position
Returns:
String a String representation of this object