|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectworldmap.map.WorldMap
worldmap.map.GlobeMap
public class GlobeMap
地球儀
フィールドの概要 | |
---|---|
static java.lang.String |
NAME
地球儀を表す文字列 |
protected SphericalAngle |
sa
視点角度 |
クラス worldmap.map.WorldMap から継承されたフィールド |
---|
bgColor, column, cx, cy, height, INV_360, INV_PI, OUT, point, radius, row, TOLERANCE, vx, vy, width |
コンストラクタの概要 | |
---|---|
GlobeMap(int row,
int column,
int[] point,
java.awt.Color bgColor)
地図オブジェクトを構築する |
|
GlobeMap(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 |
フィールドの詳細 |
---|
public static final java.lang.String NAME
protected SphericalAngle sa
コンストラクタの詳細 |
---|
public GlobeMap(int row, int column, int[] point, java.awt.Color bgColor)
row
- データの行の数column
- データの列の数point
- 地図領域インデックスを格納した配列bgColor
- 背景色public GlobeMap(WorldMap map)
map
- パラメータを取得する地図オブジェクトメソッドの詳細 |
---|
public void setRadius(int radius)
WorldMap
内の setRadius
radius
- 地球儀の半径public int getPoint(int x, int y, java.awt.geom.Point2D theta)
WorldMap
内の getPoint
x
- 画面上の点の x 座標y
- 画面上の点の y 座標theta
- 地図の回転角度
public java.awt.Point getViewPoint(int point, java.awt.geom.Point2D theta)
WorldMap
内の getViewPoint
point
- 地図上の位置を表す整数theta
- 地図の回転角度
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |