public interface Sensor extends Serializable, Comparable<Sensor>, nl.tudelft.simulation.dsol.animation.LocatableInterface
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2015-09-14 01:33:02 +0200 (Mon, 14 Sep 2015) $, @version $Revision: 1401 $, by $Author: averbraeck $,
initial version Dec 31, 2014
Modifier and Type | Method and Description |
---|---|
javax.media.j3d.Bounds |
getBounds() |
Lane |
getLane() |
nl.tudelft.simulation.language.d3.DirectedPoint |
getLocation() |
org.djunits.value.vdouble.scalar.Length.Rel |
getLongitudinalPosition() |
double |
getLongitudinalPositionSI() |
String |
getName() |
org.opentrafficsim.core.gtu.RelativePosition.TYPE |
getPositionType() |
void |
trigger(LaneBasedGTU gtu)
Trigger an action on the GTU.
|
compareTo
Lane getLane()
org.djunits.value.vdouble.scalar.Length.Rel getLongitudinalPosition()
double getLongitudinalPositionSI()
org.opentrafficsim.core.gtu.RelativePosition.TYPE getPositionType()
void trigger(LaneBasedGTU gtu)
sensor.trigger(this);
.gtu
- the GTU for which to carry out the trigger action.String getName()
nl.tudelft.simulation.language.d3.DirectedPoint getLocation()
getLocation
in interface nl.tudelft.simulation.dsol.animation.LocatableInterface
javax.media.j3d.Bounds getBounds()
getBounds
in interface nl.tudelft.simulation.dsol.animation.LocatableInterface
Copyright © 2014–2015 Delft University of Technology. All rights reserved.