|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.aidl.AidlLine
public class AidlLine
An aidl line from fix 1 to fix 2 See the source AidlLine.java
| Field Summary | |
|---|---|
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
private AidlFix |
fix1
|
private AidlFix |
fix2
|
private int |
lineIndex
|
static int |
MULTIPLIER
|
private java.lang.String |
name
|
(package private) static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
AidlLine(AidlFix fix1,
AidlFix fix2,
int lineIndex)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Returns whether this object is equal to the given object |
Distance |
getDistance()
Returns the rhumb line distance between the first and the last fix |
java.lang.String |
getFix1Name()
Returns the name of the first fix on the line |
Position |
getFix1Position()
Returns the position of the first fix on the line |
java.lang.String |
getFix2Name()
Returns the name of the last fix on the line |
Position |
getFix2Position()
Returns the position of the last fix on the line |
int |
getIndex()
Returns Aidl index |
java.lang.String |
getName()
Returns a unique name Required by HasName inteface |
Element |
toXml()
Returns an xml element representation of this object |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface faa.tg.aidl.AidlObject |
|---|
toString |
| Field Detail |
|---|
static final long serialVersionUID
public static final java.lang.String CVS_VERSION_ID
public static final int MULTIPLIER
private java.lang.String name
private int lineIndex
private AidlFix fix1
private AidlFix fix2
| Constructor Detail |
|---|
public AidlLine(AidlFix fix1,
AidlFix fix2,
int lineIndex)
fix1 - - the first fixfix2 - - the second fixlineIndex - - the base index| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in interface AidlObjectequals in class java.lang.Objectobj - - the object to checkpublic int getIndex()
getIndex in interface AidlObjectpublic java.lang.String getName()
getName in interface ManagedObjectpublic java.lang.String getFix2Name()
public java.lang.String getFix1Name()
public Position getFix2Position()
public Position getFix1Position()
public Element toXml()
toXml in interface AidlObjectpublic Distance getDistance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||