worldmap.map
クラス AEPMap

java.lang.Object
  上位を拡張 worldmap.map.WorldMap
      上位を拡張 worldmap.map.AEPMap
すべての実装されたインタフェース:
java.lang.Cloneable

public class AEPMap
extends WorldMap

正距方位図法


フィールドの概要
static java.lang.String NAME
          正距方位図法を表す文字列
 
クラス worldmap.map.WorldMap から継承されたフィールド
bgColor, column, cx, cy, height, INV_360, INV_PI, OUT, point, radius, row, TOLERANCE, vx, vy, width
 
コンストラクタの概要
AEPMap(int row, int column, int[] point, java.awt.Color bgColor)
          地図オブジェクトを構築する
AEPMap(WorldMap map)
          地図オブジェクトを構築する
 
メソッドの概要
 int getPoint(int x, int y, java.awt.geom.Point2D theta)
          画面上の点から地図上の位置を取り出す
 java.awt.Point getViewPoint(int point, java.awt.geom.Point2D theta)
          地図上の位置に対応する画面上の点を取り出す
 void setRadius(int radius)
          正距方位図の半径を設定する
 
クラス worldmap.map.WorldMap から継承されたメソッド
calcMapPixel, clone, equals, getBackgroundColor, getRegion, getRegion, hashCode, rotate, setBackgroundColor, setSize
 
クラス java.lang.Object から継承されたメソッド
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

NAME

public static final java.lang.String NAME
正距方位図法を表す文字列

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

AEPMap

public AEPMap(int row,
              int column,
              int[] point,
              java.awt.Color bgColor)
地図オブジェクトを構築する

パラメータ:
row - データの行の数
column - データの列の数
point - 地図領域インデックスを格納した配列
bgColor - 背景色

AEPMap

public AEPMap(WorldMap map)
地図オブジェクトを構築する

パラメータ:
map - パラメータを取得する地図オブジェクト
メソッドの詳細

setRadius

public void setRadius(int radius)
正距方位図の半径を設定する

オーバーライド:
クラス WorldMap 内の setRadius
パラメータ:
radius - 正距方位図の半径

getPoint

public int getPoint(int x,
                    int y,
                    java.awt.geom.Point2D theta)
画面上の点から地図上の位置を取り出す

定義:
クラス WorldMap 内の getPoint
パラメータ:
x - 画面上の点の x 座標
y - 画面上の点の y 座標
theta - 地図の回転角度
戻り値:
地図上の位置を表す整数

getViewPoint

public java.awt.Point getViewPoint(int point,
                                   java.awt.geom.Point2D theta)
地図上の位置に対応する画面上の点を取り出す

定義:
クラス WorldMap 内の getViewPoint
パラメータ:
point - 地図上の位置を表す整数
theta - 地図の回転角度
戻り値:
画面上の点