|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.vector.Tg3dVector<Speed,Speed,Speed,Speed>
faa.tg.vector.VelocityVector
faa.tg.vector.NED_VelocityVector
public class NED_VelocityVector
An NED_VelocityVector represents a velocity by containing the x,y,z Speed components in the North-East-Down rectangular coordinate frame. The North-East-Down frame is a coordinate system where x describes north/south, y describes east/west, and z describes down/up. It is a rectangular coordinate frame that rotates as the subject travels to keep the Z axis aligned with down/up; therefore, it simulates a flat map.See the source: NED_VelocityVector.java
Speed,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
(package private) static long |
serialVersionUID
|
| Fields inherited from class faa.tg.vector.Tg3dVector |
|---|
component1, component2, component3, magnitude |
| Constructor Summary | |
|---|---|
NED_VelocityVector(DIS_VelocityVector dis,
Position pos)
Method to calculate the aircraft's velocity in the NED frame. |
|
NED_VelocityVector(GroundTrackHeading gtHeading,
GroundTrackSpeed gtSpeed,
AltitudeRate altRate)
Constructs a new NED_VelocityVector using a ground track heading, a ground track speed, and an altitude rate. |
|
NED_VelocityVector(PositionSimTime start,
PositionSimTime end)
Constructs a new NED_VelocityVector using two 4D points. |
|
NED_VelocityVector(Speed xComponent_North,
Speed yComponent_East,
Speed zComponent_Down)
Constructs a new NED_VelocityVector; represents the object for measuring speed using the north-east-down frame: it contains x, y, and z components. |
|
| Method Summary | |
|---|---|
private static Speed |
calcX(PositionSimTime start,
PositionSimTime end)
Calculates the x component of the NED_VelocityVector from two 4D points. |
private static Speed |
calcY(PositionSimTime start,
PositionSimTime end)
Calculates the y component of the NED_VelocityVector from two 4D points. |
private static Speed |
calcZ(PositionSimTime start,
PositionSimTime end)
Calculates the z component of the NED_VelocityVector from two 4D points. |
AltitudeRate |
getAltitudeRate()
Returns the altitude rate (in this case, the negative of the down vector). |
FlightPathAngle |
getFlightPathAngle()
Returns the flight path angle relative to the plane that is tangent to the surface of the Earth directly under the aircraft. |
GroundTrackHeading |
getGroundTrackHeading()
Returns the ground track heading (in this case, the combination of the north and east vectors). |
GroundTrackSpeed |
getGroundTrackSpeed()
Returns the ground track speed for this velocity vector. |
Angle |
interceptAngle(NED_VelocityVector otherNED)
Returns the intercept angle of this NED_VelocityVector and the specified NED_VelocityVector: assumes that the velocity vectors are coplanar. |
static NED_VelocityVector |
newNED(TrueAirspeed updatedTrueAirspeed,
FlightPathRelAirAngle updatedFlightPathAngle,
TrueHeading updatedAircraftHeading,
LocalWind localWind)
Constructs and returns an NED_VelocityVector after calculating the speed parameters. |
java.lang.String |
toDraText()
Return the output text String representation of this object. |
java.lang.String |
toString()
Returns a string representation of this object |
| Methods inherited from class faa.tg.vector.VelocityVector |
|---|
calcMagnitude, getMagnitude, getXComponent, getYComponent, getZComponent |
| Methods inherited from class faa.tg.vector.Tg3dVector |
|---|
getComponent1, getComponent2, getComponent3 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
static final long serialVersionUID
public static final java.lang.String CVS_VERSION_ID
| Constructor Detail |
|---|
public NED_VelocityVector(DIS_VelocityVector dis,
Position pos)
dis - The DIS velocity vector to construct the new NED from.pos - The position of the aircraft.NED_VelocityVector
public NED_VelocityVector(PositionSimTime start,
PositionSimTime end)
start - The starting position and time.end - The ending position and time.
public NED_VelocityVector(GroundTrackHeading gtHeading,
GroundTrackSpeed gtSpeed,
AltitudeRate altRate)
gtHeading - The ground track heading.gtSpeed - The ground track speed.altRate - The altitude rate.
public NED_VelocityVector(Speed xComponent_North,
Speed yComponent_East,
Speed zComponent_Down)
xComponent_North - The North component (South if negative).yComponent_East - The East component (West if negative).zComponent_Down - The Down component (Up if negative).| Method Detail |
|---|
public static NED_VelocityVector newNED(TrueAirspeed updatedTrueAirspeed,
FlightPathRelAirAngle updatedFlightPathAngle,
TrueHeading updatedAircraftHeading,
LocalWind localWind)
updatedTrueAirspeed - The updated true airspeed of the aircraft.updatedFlightPathAngle - Updated flight path angle of the aircraft.updatedAircraftHeading - Updated true heading of the aircraft.
public java.lang.String toDraText()
public Angle interceptAngle(NED_VelocityVector otherNED)
public GroundTrackHeading getGroundTrackHeading()
public GroundTrackSpeed getGroundTrackSpeed()
public AltitudeRate getAltitudeRate()
public FlightPathAngle getFlightPathAngle()
private static Speed calcX(PositionSimTime start,
PositionSimTime end)
start - The starting position and time as a 4D point.end - The ending position and time as a 4D point.
private static Speed calcY(PositionSimTime start,
PositionSimTime end)
start - The starting position and time as a 4D point.end - The ending position and time as a 4D point.
private static Speed calcZ(PositionSimTime start,
PositionSimTime end)
start - The starting position and time as a 4D point.end - The ending position and time as a 4D point.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||