Uses of Class
org.opentrafficsim.core.network.LongitudinalDirectionality
-
Packages that use LongitudinalDirectionality 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-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. -
-
Uses of LongitudinalDirectionality in org.opentrafficsim.core.compatibility
Methods in org.opentrafficsim.core.compatibility that return LongitudinalDirectionality Modifier and Type Method 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.Methods in org.opentrafficsim.core.compatibility with parameters of type LongitudinalDirectionality Modifier and Type Method 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. -
Uses of LongitudinalDirectionality in org.opentrafficsim.core.network
Methods in org.opentrafficsim.core.network that return LongitudinalDirectionality Modifier and Type Method Description 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
OTSLink. getDirectionality(GTUType gtuType)
This method returns the directionality of the link for a GTU type.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.Methods in org.opentrafficsim.core.network with parameters of type LongitudinalDirectionality Modifier and Type Method 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. -
Uses of LongitudinalDirectionality in org.opentrafficsim.core.network.factory.xml.units
Methods in org.opentrafficsim.core.network.factory.xml.units that return LongitudinalDirectionality Modifier and Type Method Description static LongitudinalDirectionality
Directions. parseDirection(String dirStr)
-