faa.tg.vector
Class LLA_PositionVector

java.lang.Object
  extended by faa.tg.vector.Tg3dVector<Latitude,Longitude,Altitude,Distance>
      extended by faa.tg.vector.LLA_PositionVector
All Implemented Interfaces:
Immutable, java.io.Serializable

Deprecated. May delete this: the magnitude calculation is dependent on the initial position that this vector is based on, and so this class may be impractical for general use.

public abstract class LLA_PositionVector
extends Tg3dVector<Latitude,Longitude,Altitude,Distance>
implements Immutable

LLA_PositionVector represents a distance in a geodetic frame; its angle components are the Latitude and Longitude difference, and the magnitude component is the Altitude difference. See the source: LLA_PositionVector.java

Version:
$Id: LLA_PositionVector.java,v 3.3 2008/10/22 21:24:40 danaw Exp $
Author:
Dana N. Whicker, TGF/L-3 Titan Corp, Nov 9, 2005
See Also:
Serialized Form

Field Summary
static java.lang.String CVS_VERSION_ID
          Deprecated. The CVS Version ID
 Distance distance
          Deprecated.  
(package private) static long serialVersionUID
          Deprecated.  
 
Fields inherited from class faa.tg.vector.Tg3dVector
component1, component2, component3, magnitude
 
Constructor Summary
LLA_PositionVector(Latitude lat, Longitude lon, Altitude alt)
          Deprecated. Constructs a new LLA_PositionVector.
LLA_PositionVector(Position from, Position to)
          Deprecated. Constructs a new LLA_PositionVector.
 
Method Summary
protected abstract  Distance calcMagnitude(Latitude lat, Longitude lon, Altitude alt)
          Deprecated. Constructs a new Tg3dVector for a spherical or geodetic coordinate system from two angle components and the magnitude.
 Position calcPosition(Latitude lat, Longitude lon, Altitude alt)
          Deprecated. Calculate a new Position by applying this vector to a Latitude/ Longitude/Altitude coordinate set.
 Position calcPosition(Position pos)
          Deprecated. Calculate a new Position by applying this vector to a Position.
 Altitude getAltitude()
          Deprecated. Returns the Altitude difference of this geodetic position vector.
 Latitude getLatitude()
          Deprecated. Returns the Latitude difference of this geodetic position vector.
 Longitude getLongitude()
          Deprecated. Returns the Longitude difference of this geodetic position vector.
 java.lang.String toString()
          Deprecated. Returns a string representation of this object.
 
Methods inherited from class faa.tg.vector.Tg3dVector
getComponent1, getComponent2, getComponent3, getMagnitude
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
Deprecated. 
See Also:
Constant Field Values

CVS_VERSION_ID

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

See Also:
Constant Field Values

distance

public Distance distance
Deprecated. 
Constructor Detail

LLA_PositionVector

public LLA_PositionVector(Latitude lat,
                          Longitude lon,
                          Altitude alt)
Deprecated. 
Constructs a new LLA_PositionVector. Stores the geodetic latitude, longitude, and altitude as the first, second, and third vector components.

Parameters:
lat - Geodetic Latitude difference (the first Angle component).
lon - Longitude difference (the second Angle component).
alt - Altitude difference (used as the magnitude component).

LLA_PositionVector

public LLA_PositionVector(Position from,
                          Position to)
Deprecated. 
Constructs a new LLA_PositionVector. Stores the geodetic latitude, longitude, and altitude as the first, second, and third vector components.

Parameters:
from - The Position that the vector is calculated from.
to - The Position that the vector is calculated to.
Method Detail

calcMagnitude

protected abstract Distance calcMagnitude(Latitude lat,
                                          Longitude lon,
                                          Altitude alt)
Deprecated. 
Constructs a new Tg3dVector for a spherical or geodetic coordinate system from two angle components and the magnitude.

The radius of a spherical or geodetic vector would be the magnitude (rho).

Generally, a subclass will not use Tg3dVector(AMeasure, AMeasure, AMeasure) if it uses this constructor.

Specified by:
calcMagnitude in class Tg3dVector<Latitude,Longitude,Altitude,Distance>
Parameters:
lat - Geodetic Latitude difference as the first Angle component.
lon - Longitude difference as the second Angle component.
alt - Altitude difference (used as magnitude component).
Returns:
the magnitude of the vector of the specified components.

getLatitude

public Latitude getLatitude()
Deprecated. 
Returns the Latitude difference of this geodetic position vector.


getLongitude

public Longitude getLongitude()
Deprecated. 
Returns the Longitude difference of this geodetic position vector.


getAltitude

public Altitude getAltitude()
Deprecated. 
Returns the Altitude difference of this geodetic position vector.


calcPosition

public Position calcPosition(Latitude lat,
                             Longitude lon,
                             Altitude alt)
Deprecated. 
Calculate a new Position by applying this vector to a Latitude/ Longitude/Altitude coordinate set.

Parameters:
lat - Latitude of the Position.
lon - Longitude of the Position.
alt - Altitude of the Position.

calcPosition

public Position calcPosition(Position pos)
Deprecated. 
Calculate a new Position by applying this vector to a Position.


toString

public java.lang.String toString()
Deprecated. 
Returns a string representation of this object.

Overrides:
toString in class java.lang.Object