jp.digitalmuseum.utils
クラス Location

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

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

Location information. (X, Y) [cm] and direction [rad] in the world coordinate.

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

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

コンストラクタの詳細

Location

public Location()

Location

public Location(Location location)

Location

public Location(Position position,
                double rotation)

Location

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

setLocation

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

setLocation

public void setLocation(Position position,
                        double rotation)

setLocation

public void setLocation(Location location)

setPosition

public void setPosition(double x,
                        double y)

setPosition

public void setPosition(Position position)

setX

public void setX(double x)

setY

public void setY(double y)

setRotation

public void setRotation(double rotation)

getRelativePosition

public Position getRelativePosition(Position relativePosition)

getRelativePosition

public Position getRelativePosition(double x,
                                    double y)

getRelativePositionOut

public void getRelativePositionOut(Position relativePosition,
                                   Position position)

getRelativePositionOut

public void getRelativePositionOut(double rx,
                                   double ry,
                                   Position position)

getRelativeLocation

public void getRelativeLocation(Location relativeLocation)

getRelativeLocationOut

public void getRelativeLocationOut(Location relativeLocation,
                                   Location location)

getPosition

public Position getPosition()

getPositionOut

public void getPositionOut(Position position)

getX

public double getX()

getY

public double getY()

getRotation

public double getRotation()

isNotFound

public boolean isNotFound()

isFound

public boolean isFound()

setNotFound

public void setNotFound(boolean isNotFound)

toString

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


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