|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjme3tools.navigation.Coordinate
public class Coordinate
Coordinate class. Used to store a coordinate in [DD]D MM.M format.
フィールドの概要 | |
---|---|
static int |
DEGPRECISION
|
static int |
E
|
static int |
LAT
|
static int |
LNG
|
static int |
MINPRECISION
|
static int |
N
|
static int |
S
|
static int |
W
|
コンストラクタの概要 | |
---|---|
Coordinate(double decCoordinate,
int coOrdinate)
Constructor |
|
Coordinate(int deg,
float minsDecMins,
int coOrdinate,
int quad)
Constructor |
|
Coordinate(java.lang.String coOrdinate)
This constructor takes a coordinate in the ALRS formats i.e 38∞31.64'N for lat, and 28∞19.12'W for long Note: ALRS positions are occasionally written with the decimal minutes apostrophe in the 'wrong' place and with an non CP1252 compliant decimal character. |
メソッドの概要 | |
---|---|
double |
decVal()
Returns the coordinate's decimal value |
java.lang.String |
toStringDec()
Prints out a coordinate as a string |
java.lang.String |
toStringDegMin()
Prints out a coordinate as a string |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public static final int MINPRECISION
public static final int DEGPRECISION
public static final int LAT
public static final int LNG
public static final int E
public static final int S
public static final int W
public static final int N
コンストラクタの詳細 |
---|
public Coordinate(int deg, float minsDecMins, int coOrdinate, int quad) throws InvalidPositionException
deg
- minsDecMins
- coOrdinate
- quad
-
InvalidPositionException
public Coordinate(double decCoordinate, int coOrdinate) throws InvalidPositionException
decCoordinate
- coOrdinate
-
InvalidPositionException
public Coordinate(java.lang.String coOrdinate) throws InvalidPositionException
coOrdinate
-
InvalidPositionException
メソッドの詳細 |
---|
public java.lang.String toStringDegMin()
public java.lang.String toStringDec()
public double decVal()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |