jp.dbcls.ag
クラス AgMapping

java.lang.Object
  上位を拡張 jp.dbcls.ag.AgMapping
すべての実装されたインタフェース:
java.io.Serializable

public class AgMapping
extends java.lang.Object
implements java.io.Serializable

mappingに関するワールド座標、スクリーン座標情報の受け渡しに使います。

関連項目:
直列化された形式

コンストラクタの概要
AgMapping()
           
 
メソッドの概要
 int[] getScreenPos()
           
 int getScreenPosX()
           
 int getScreenPosY()
           
 double[] getWorldPos()
           
 void setScreenPos(int[] screenPos)
           
 void setScreenPos(int x, int y)
           
 void setWorldPos(double[] worldPos)
           
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

AgMapping

public AgMapping()
メソッドの詳細

getWorldPos

public double[] getWorldPos()
戻り値:
the worldPos

setWorldPos

public void setWorldPos(double[] worldPos)
パラメータ:
worldPos - the worldPos to set

getScreenPos

public int[] getScreenPos()
戻り値:
the screenPos

getScreenPosX

public int getScreenPosX()

getScreenPosY

public int getScreenPosY()

setScreenPos

public void setScreenPos(int[] screenPos)
パラメータ:
screenPos - the screenPos to set

setScreenPos

public void setScreenPos(int x,
                         int y)