| Package | Description |
|---|---|
| org.opentrafficsim.core.compatibility |
Compatibility package.
|
| org.opentrafficsim.core.network |
Classes that build a network with nodes, links, and cross-sections.
|
| org.opentrafficsim.core.network.factory.xml.units |
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| Modifier and Type | Method and Description |
|---|---|
LongitudinalDirectionality |
Compatibility.getDirectionality(G gtuType,
boolean tryParentsOfGTUType)
Retrieve the allowed driving directions for a GTUType.
|
LongitudinalDirectionality |
GTUCompatibility.getDirectionality(GTUType gtuType,
boolean tryParentsOfGTUType)
Retrieve the allowed driving directions for a GTUType.
|
| Modifier and Type | Method and Description |
|---|---|
GTUCompatibility<I> |
GTUCompatibility.addAllowedGTUType(GTUType gtuType,
LongitudinalDirectionality directionality)
Add a GTUType to this GTUCompatibility.
|
GTUCompatibility<I> |
GTUCompatibility.removeAllowedGTUType(GTUType gtuType,
LongitudinalDirectionality directionality)
Remove a GTUType from the allowed set of this Compatibility.
|
| Modifier and Type | Method and Description |
|---|---|
LongitudinalDirectionality |
OTSLink.getDirectionality(GTUType gtuType)
This method returns the directionality of the link for a GTU type.
|
LongitudinalDirectionality |
Link.getDirectionality(GTUType gtuType)
This method returns the directionality of the link for a GTU type.
|
LongitudinalDirectionality |
LinkType.getDirectionality(GTUType gtuType,
boolean tryParentsOfGTUType)
Retrieve the allowed driving directions for a GTUType.
|
LongitudinalDirectionality |
LongitudinalDirectionality.intersect(LongitudinalDirectionality other)
Compute the intersection of this LongitudinalDirectionality with another LongitudinalDirectionality.
|
LongitudinalDirectionality |
LongitudinalDirectionality.invert()
Return the inverse if this LongitudinalDirectionality.
|
static LongitudinalDirectionality |
LongitudinalDirectionality.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LongitudinalDirectionality[] |
LongitudinalDirectionality.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
LongitudinalDirectionality.contains(LongitudinalDirectionality directionality)
This method looks if this directionality "contains" the provided other directionality.
|
LongitudinalDirectionality |
LongitudinalDirectionality.intersect(LongitudinalDirectionality other)
Compute the intersection of this LongitudinalDirectionality with another LongitudinalDirectionality.
|
| Modifier and Type | Method and Description |
|---|---|
static LongitudinalDirectionality |
Directions.parseDirection(String dirStr) |
Copyright © 2014–2018 Delft University of Technology. All rights reserved.