public static final class LaneBasedGTUGenerator.Placement extends Object
RoomChecker returns.
 
 Copyright (c) 2013-2018 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 LaneBasedGTUGenerator.Placement | 
NO
Value if the GTU cannot be placed. 
 | 
| Constructor and Description | 
|---|
Placement(org.djunits.value.vdouble.scalar.Speed speed,
         Set<DirectedLanePosition> position)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
canPlace()
Returns whether the GTU can be placed. 
 | 
Set<DirectedLanePosition> | 
getPosition()
Returns the position. 
 | 
org.djunits.value.vdouble.scalar.Speed | 
getSpeed()
Returns the speed. 
 | 
String | 
toString() | 
public static final LaneBasedGTUGenerator.Placement NO
public Placement(org.djunits.value.vdouble.scalar.Speed speed,
                 Set<DirectedLanePosition> position)
speed - Speed; speedposition - Set<DirectedLanePosition>; positionpublic boolean canPlace()
public org.djunits.value.vdouble.scalar.Speed getSpeed()
public Set<DirectedLanePosition> getPosition()
Copyright © 2014–2018 Delft University of Technology. All rights reserved.