jp.digitalmuseum.mr.service
インタフェース LocationProvider

すべてのスーパーインタフェース:
EntityInformationProvider, EventProvider, java.lang.Runnable, java.io.Serializable, Service
既知の実装クラスの一覧:
Hakoniwa, LocationProviderAbstractImpl, MarkerDetector

public interface LocationProvider
extends EntityInformationProvider
Interface implemented by classes which provide position information of entities. All positions are provided in a world coordinate given by a related CoordsProvider.
作成者:
Jun KATO
関連項目:
CoordProvider

メソッドの概要
 boolean contains(Entity e, Position position)
           
 CoordProvider getCoordProvider()
           
 Location getLocation(Entity e)
           
 void getLocationOut(Entity e, Location location)
           
 Position getPosition(Entity e)
           
 void getPositionOut(Entity e, Position position)
           
 double getRotation(Entity e)
          Returns 0 if not able to specify the rotation.
 double getX(Entity e)
          Returns 0 if not able to specify the position.
 double getY(Entity e)
          Returns 0 if not able to specify the position.
 
インタフェース jp.digitalmuseum.mr.service.EntityInformationProvider から継承されたメソッド
contains, getEntities
 
インタフェース jp.digitalmuseum.mr.service.Service から継承されたメソッド
dispose, getAliveTime, getConfigurationComponent, getInterval, getName, getServiceGroup, isDisposed, isPaused, isStarted, pause, resume, setInterval, setServiceGroup, start, start, stop
 
インタフェース java.lang.Runnable から継承されたメソッド
run
 
インタフェース jp.digitalmuseum.mr.message.EventProvider から継承されたメソッド
addEventListener, removeEventListener
 
メソッドの詳細

getCoordProvider

CoordProvider getCoordProvider()

getLocation

Location getLocation(Entity e)

getLocationOut

void getLocationOut(Entity e,
                    Location location)

getPosition

Position getPosition(Entity e)

getPositionOut

void getPositionOut(Entity e,
                    Position position)

contains

boolean contains(Entity e,
                 Position position)

getX

double getX(Entity e)
Returns 0 if not able to specify the position.
パラメータ:
e -
戻り値:

getY

double getY(Entity e)
Returns 0 if not able to specify the position.
パラメータ:
e -
戻り値:

getRotation

double getRotation(Entity e)
Returns 0 if not able to specify the rotation.
パラメータ:
e -
戻り値:


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