jp.dbcls.ag
Class AgMapping

java.lang.Object
  extended by jp.dbcls.ag.AgMapping
All Implemented Interfaces:
java.io.Serializable

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

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

See Also:
Serialized Form

Constructor Summary
AgMapping()
           
 
Method Summary
 int[] getScreenPos()
           
 int getScreenPosX()
           
 int getScreenPosY()
           
 double[] getWorldPos()
           
 void setScreenPos(int[] screenPos)
           
 void setScreenPos(int x, int y)
           
 void setWorldPos(double[] worldPos)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgMapping

public AgMapping()
Method Detail

getWorldPos

public double[] getWorldPos()
Returns:
the worldPos

setWorldPos

public void setWorldPos(double[] worldPos)
Parameters:
worldPos - the worldPos to set

getScreenPos

public int[] getScreenPos()
Returns:
the screenPos

getScreenPosX

public int getScreenPosX()

getScreenPosY

public int getScreenPosY()

setScreenPos

public void setScreenPos(int[] screenPos)
Parameters:
screenPos - the screenPos to set

setScreenPos

public void setScreenPos(int x,
                         int y)