public interface Compatible
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Field and Description |
---|---|
static Compatible |
EVERYTHING
Default
Compatible that allows every GTU type in every direction. |
Modifier and Type | Method and Description |
---|---|
boolean |
isCompatible(GTUType gtuType,
GTUDirectionality directionality)
Test if a GTUType is handled by the infrastructure in the given direction.
|
static final Compatible EVERYTHING
Compatible
that allows every GTU type in every direction.boolean isCompatible(GTUType gtuType, GTUDirectionality directionality)
gtuType
- GTUType; the type of the GTUdirectionality
- GTUDirectionality; the direction of the GTU with respect to the design direction of the
infrastructureCopyright © 2014–2019 Delft University of Technology. All rights reserved.