class LaneAttributes extends Object implements Serializable
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2015-09-16 19:20:07 +0200 (Wed, 16 Sep 2015) $, @version $Revision: 1405 $, by $Author: averbraeck $,
initial version Mar 3, 2015
| Constructor and Description |
|---|
LaneAttributes(org.opentrafficsim.road.network.lane.LaneType lt,
Color c,
org.opentrafficsim.core.network.LongitudinalDirectionality d) |
LaneAttributes(org.opentrafficsim.road.network.lane.LaneType laneType,
Color color,
org.opentrafficsim.core.network.LongitudinalDirectionality directionality,
Double width) |
| Modifier and Type | Method and Description |
|---|---|
Color |
getColor() |
org.opentrafficsim.core.network.LongitudinalDirectionality |
getDirectionality() |
org.opentrafficsim.road.network.lane.LaneType |
getLaneType() |
org.djunits.value.vdouble.scalar.Length |
getWidth() |
void |
setWidth(Double width) |
String |
toString() |
public LaneAttributes(org.opentrafficsim.road.network.lane.LaneType lt,
Color c,
org.opentrafficsim.core.network.LongitudinalDirectionality d)
lt - - LaneTypec - - Colord - - LongitudinalDIrectionalitypublic LaneAttributes(org.opentrafficsim.road.network.lane.LaneType laneType,
Color color,
org.opentrafficsim.core.network.LongitudinalDirectionality directionality,
Double width)
laneType - - LaneTypecolor - - Colordirectionality - - LongitudinalDIrectionalitywidth - - widthpublic org.opentrafficsim.road.network.lane.LaneType getLaneType()
public Color getColor()
public org.opentrafficsim.core.network.LongitudinalDirectionality getDirectionality()
public org.djunits.value.vdouble.scalar.Length getWidth()
public void setWidth(Double width)
width - set width.Copyright © 2014–2017 Delft University of Technology. All rights reserved.