jme3tools.navigation
クラス Coordinate

java.lang.Object
  上位を拡張 jme3tools.navigation.Coordinate

public class Coordinate
extends java.lang.Object

Coordinate class. Used to store a coordinate in [DD]D MM.M format.

導入されたバージョン:
1.0

フィールドの概要
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
 

フィールドの詳細

MINPRECISION

public static final int MINPRECISION
関連項目:
定数フィールド値

DEGPRECISION

public static final int DEGPRECISION
関連項目:
定数フィールド値

LAT

public static final int LAT
関連項目:
定数フィールド値

LNG

public static final int LNG
関連項目:
定数フィールド値

E

public static final int E
関連項目:
定数フィールド値

S

public static final int S
関連項目:
定数フィールド値

W

public static final int W
関連項目:
定数フィールド値

N

public static final int N
関連項目:
定数フィールド値
コンストラクタの詳細

Coordinate

public Coordinate(int deg,
                  float minsDecMins,
                  int coOrdinate,
                  int quad)
           throws InvalidPositionException
Constructor

パラメータ:
deg -
minsDecMins -
coOrdinate -
quad -
例外:
InvalidPositionException
導入されたバージョン:
1.0

Coordinate

public Coordinate(double decCoordinate,
                  int coOrdinate)
           throws InvalidPositionException
Constructor

パラメータ:
decCoordinate -
coOrdinate -
例外:
InvalidPositionException
導入されたバージョン:
1.0

Coordinate

public Coordinate(java.lang.String coOrdinate)
           throws InvalidPositionException
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. This issue has to be corrected in the source database

パラメータ:
coOrdinate -
例外:
InvalidPositionException
導入されたバージョン:
1.0
メソッドの詳細

toStringDegMin

public java.lang.String toStringDegMin()
Prints out a coordinate as a string

戻り値:
the coordinate in decimal format
導入されたバージョン:
1.0

toStringDec

public java.lang.String toStringDec()
Prints out a coordinate as a string

戻り値:
the coordinate in decimal format
導入されたバージョン:
1.0

decVal

public double decVal()
Returns the coordinate's decimal value

戻り値:
float the decimal value of the coordinate
導入されたバージョン:
1.0