public interface EnvironmentState
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 | Interface and Description |
---|---|
static class |
EnvironmentState.Entry<T extends LaneBasedObject>
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
static class |
EnvironmentState.ViewingDirection
Direction to look.
|
Modifier and Type | Method and Description |
---|---|
<T extends LaneBasedObject> |
getSortedObjects(EnvironmentState.ViewingDirection viewingDirection,
RelativeLane relativeLane,
Class<T> clazz)
Retrieve objects on a lane of a specific type.
|
<T extends LaneBasedObject> TreeMap<org.djunits.value.vdouble.scalar.Length,Set<T>> getSortedObjects(EnvironmentState.ViewingDirection viewingDirection, RelativeLane relativeLane, Class<T> clazz)
T
- type of the objectsviewingDirection
- direction to look atrelativeLane
- lane to look atclazz
- class of objects to obtainCopyright © 2014–2016 Delft University of Technology. All rights reserved.