jp.digitalmuseum.utils
クラス ScreenLocation

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

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

Location information. (X, Y) [px] and direction [rad] in a screen coordinate.

作成者:
Jun KATO
関連項目:
直列化された形式

コンストラクタの概要
ScreenLocation()
           
ScreenLocation(int x, int y, double rotation)
           
ScreenLocation(ScreenLocation location)
           
ScreenLocation(ScreenPosition position, double rotation)
           
 
メソッドの概要
 ScreenPosition getPosition()
           
 void getPositionOut(ScreenPosition screenPosition)
           
 double getRotation()
           
 int getX()
           
 int getY()
           
 boolean isFound()
           
 boolean isNotFound()
           
 void setLocation(int x, int y, double rotation)
           
 void setLocation(ScreenLocation location)
           
 void setLocation(ScreenPosition position, double rotation)
           
 void setNotFound(boolean isNotFound)
           
 void setPosition(int x, int y)
           
 void setPosition(ScreenPosition position)
           
 void setRotation(double rotation)
           
 void setX(int x)
           
 void setY(int y)
           
 java.lang.String toString()
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

ScreenLocation

public ScreenLocation()

ScreenLocation

public ScreenLocation(ScreenLocation location)

ScreenLocation

public ScreenLocation(ScreenPosition position,
                      double rotation)

ScreenLocation

public ScreenLocation(int x,
                      int y,
                      double rotation)
メソッドの詳細

setLocation

public void setLocation(int x,
                        int y,
                        double rotation)

setLocation

public void setLocation(ScreenPosition position,
                        double rotation)

setLocation

public void setLocation(ScreenLocation location)

setPosition

public void setPosition(int x,
                        int y)

setPosition

public void setPosition(ScreenPosition position)

setX

public void setX(int x)

setY

public void setY(int y)

setRotation

public void setRotation(double rotation)

getPosition

public ScreenPosition getPosition()

getPositionOut

public void getPositionOut(ScreenPosition screenPosition)

getX

public int getX()

getY

public int getY()

getRotation

public double getRotation()

toString

public java.lang.String toString()
オーバーライド:
クラス java.lang.Object 内の toString

isNotFound

public boolean isNotFound()

isFound

public boolean isFound()

setNotFound

public void setNotFound(boolean isNotFound)


Copyright by Jun KATO (arc@dmz) at http://mr.digitalmuseum.jp/