public interface LaneBasedObject extends ObjectInterface
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
FIRST_POSITION, LAST_POSITION
Modifier and Type | Method and Description |
---|---|
javax.media.j3d.Bounds |
getBounds()
Return the bounds without throwing a RemoteException.
|
LongitudinalDirectionality |
getDirection() |
Lane |
getLane() |
DirectedPoint |
getLocation()
Return the location without throwing a RemoteException.
|
Length |
getLongitudinalPosition() |
static OTSLine3D |
makeGeometry(Lane lane,
Length position)
Make a geometry perpendicular to the center line of the lane at the given position.
|
getFullId, getGeometry, getHeight
getId
addListener, addListener, addListener, addListener, removeListener
Lane getLane()
LongitudinalDirectionality getDirection()
Length getLongitudinalPosition()
DirectedPoint getLocation()
getLocation
in interface Locatable
javax.media.j3d.Bounds getBounds()
static OTSLine3D makeGeometry(Lane lane, Length position)
lane
- Lane; the lane where the sensor residesposition
- Length; The length of the object in the longitudinal direction, on the center line of the laneCopyright © 2014–2019 Delft University of Technology. All rights reserved.