public interface LaneBasedObject
extends org.opentrafficsim.core.object.ObjectInterface
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Method and Description |
---|---|
javax.media.j3d.Bounds |
getBounds()
Return the bounds without throwing a RemoteException.
|
Lane |
getLane() |
nl.tudelft.simulation.language.d3.DirectedPoint |
getLocation()
Return the location without throwing a RemoteException.
|
org.djunits.value.vdouble.scalar.Length |
getLongitudinalPosition() |
static org.opentrafficsim.core.geometry.OTSLine3D |
makeGeometry(Lane lane,
org.djunits.value.vdouble.scalar.Length position)
Make a geometry perpendicular to the center line of the lane at the given position.
|
Lane getLane()
org.djunits.value.vdouble.scalar.Length getLongitudinalPosition()
nl.tudelft.simulation.language.d3.DirectedPoint getLocation()
getLocation
in interface nl.tudelft.simulation.dsol.animation.Locatable
javax.media.j3d.Bounds getBounds()
getBounds
in interface nl.tudelft.simulation.dsol.animation.Locatable
static org.opentrafficsim.core.geometry.OTSLine3D makeGeometry(Lane lane, org.djunits.value.vdouble.scalar.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–2016 Delft University of Technology. All rights reserved.