| Package | Description |
|---|---|
| org.opentrafficsim.core.network |
Classes that build a network with nodes, links, and cross-sections.
|
| org.opentrafficsim.core.object |
Static objects that the GTU might have to avoid.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableMap<String,InvisibleObjectInterface> |
OTSNetwork.getInvisibleObjectMap()
Return an immutable map of all InvisibleObject implementing objects in the Network.
|
ImmutableMap<String,InvisibleObjectInterface> |
Network.getInvisibleObjectMap()
Return an immutable map of all InvisibleObject implementing objects in the Network.
|
ImmutableMap<String,InvisibleObjectInterface> |
OTSNetwork.getInvisibleObjectMap(Class<InvisibleObjectInterface> objectType)
Return an immutable map of all InvisibleObject implementing objects in the network that are of type objectType, or any
sub type thereof.
|
ImmutableMap<String,InvisibleObjectInterface> |
Network.getInvisibleObjectMap(Class<InvisibleObjectInterface> objectType)
Return an immutable map of all InvisibleObject implementing objects in the network that are of type objectType, or any
sub type thereof.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OTSNetwork.addInvisibleObject(InvisibleObjectInterface object)
Add an ObjectInterface implementing object to the Network.
|
void |
Network.addInvisibleObject(InvisibleObjectInterface object)
Add an ObjectInterface implementing object to the Network.
|
boolean |
OTSNetwork.containsInvisibleObject(InvisibleObjectInterface object)
Test whether the invisible object is present in the Network.
|
boolean |
Network.containsInvisibleObject(InvisibleObjectInterface object)
Test whether the invisible object is present in the Network.
|
void |
OTSNetwork.removeInvisibleObject(InvisibleObjectInterface object)
Remove an ObjectInterface implementing object form the Network.
|
void |
Network.removeInvisibleObject(InvisibleObjectInterface object)
Remove an ObjectInterface implementing object form the Network.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableMap<String,InvisibleObjectInterface> |
OTSNetwork.getInvisibleObjectMap(Class<InvisibleObjectInterface> objectType)
Return an immutable map of all InvisibleObject implementing objects in the network that are of type objectType, or any
sub type thereof.
|
ImmutableMap<String,InvisibleObjectInterface> |
Network.getInvisibleObjectMap(Class<InvisibleObjectInterface> objectType)
Return an immutable map of all InvisibleObject implementing objects in the network that are of type objectType, or any
sub type thereof.
|
| Modifier and Type | Method and Description |
|---|---|
InvisibleObjectInterface |
InvisibleObjectInterface.clone(OTSSimulatorInterface newSimulator,
Network newNetwork)
Duplicate the invisibleObject in a new simulator and network.
|
Copyright © 2014–2019 Delft University of Technology. All rights reserved.