public class TurnRestriction extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
Edge |
from |
TraverseModeSet |
modes |
RepeatingTimePeriod |
time |
Edge |
to |
TurnRestrictionType |
type |
Constructor and Description |
---|
TurnRestriction() |
TurnRestriction(Edge from,
Edge to,
TurnRestrictionType type,
TraverseModeSet modes)
Convenience constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
active(long time)
Return true if the turn restriction is in force at the time described by the long.
|
String |
toString() |
public TurnRestrictionType type
public Edge from
public Edge to
public RepeatingTimePeriod time
public TraverseModeSet modes
public TurnRestriction()
public TurnRestriction(Edge from, Edge to, TurnRestrictionType type, TraverseModeSet modes)
from
- to
- type
- Copyright © 2018. All rights reserved.