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
インタフェース 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 |
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/