|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.track.Offset4D
faa.tg.track.OffsetDist
public class OffsetDist
OffsetDist stores an offset calculation that can be applied to PositionSimTime objects to obtain a new offset.See the source: OffsetDist.java
| Field Summary | |
|---|---|
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID. |
private java.lang.String |
name
|
static java.lang.String |
NAME_PREFIX
|
private static java.text.DecimalFormat |
OFFSET_FORMAT
|
private TrueBearing |
offsetBearing
|
private Distance |
offsetDist
|
private java.lang.String |
offsetText
|
private TrueBearing |
recipBearing
|
(package private) static long |
serialVersionUID
|
| Fields inherited from class faa.tg.track.Offset4D |
|---|
NAME_IDX, subOffset |
| Constructor Summary | |
|---|---|
OffsetDist(Distance distToFollow)
Constructs an offset that can be applied to a Track or a PositionSimTime. |
|
OffsetDist(Distance dist,
TrueBearing dir)
Deprecated. Not needed? |
|
OffsetDist(Distance dist,
TrueBearing offsetBearing,
Offset4D subOffset)
Constructs an offset that can be applied to a Track or a PositionSimTime. |
|
| Method Summary | |
|---|---|
Trace4D |
calcOffset(Trace4D point)
Calculates and returns the offset to the specified 4D point. |
java.lang.String |
getName()
Returns a name uniquely identifying this offset. |
Distance |
getOffsetDist()
Returns the offset distance. |
java.lang.String |
getOffsetText()
Returns the offset distance text in the format: |
RouteSegment |
getRouteSegment(Track track,
Position estPos)
Returns the points of the path flanking the specified time as a RouteSegment; if the time is before the first point, returns the first route segment; if the time is after the last point, returns null. |
boolean |
isTooFar(Aircraft follower,
Aircraft leader,
double maxPercentage)
Returns whether one aircraft is too far from another aircraft |
| Methods inherited from class faa.tg.track.Offset4D |
|---|
apply, calcOffset, toString |
| 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
private static final java.text.DecimalFormat OFFSET_FORMAT
public static final java.lang.String NAME_PREFIX
private final TrueBearing offsetBearing
private final TrueBearing recipBearing
private final Distance offsetDist
private final java.lang.String name
private final java.lang.String offsetText
| Constructor Detail |
|---|
public OffsetDist(Distance dist,
TrueBearing dir)
public OffsetDist(Distance dist,
TrueBearing offsetBearing,
Offset4D subOffset)
public OffsetDist(Distance distToFollow)
| Method Detail |
|---|
public java.lang.String getName()
getName in interface ManagedObjectgetName in class Offset4Dpublic java.lang.String getOffsetText()
" at 0.0## nautical miles".
getOffsetText in class Offset4Dpublic Trace4D calcOffset(Trace4D point)
calcOffset in class Offset4Dpoint - The 4D point to offset.public Distance getOffsetDist()
public RouteSegment getRouteSegment(Track track,
Position estPos)
getRouteSegment in class Offset4D
public boolean isTooFar(Aircraft follower,
Aircraft leader,
double maxPercentage)
isTooFar in class Offset4Dfollower - - the aircraft that was told to followleader - - the aircraft being followedmaxPercentage - - the maximum percent of the offset
to allow
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||