public class Shoulder extends CrossSectionElement
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2015-08-30 00:16:51 +0200 (Sun, 30 Aug 2015) $, @version $Revision: 1329 $, by $Author: averbraeck $,
initial version Aug 19, 2014
beginWidth, designLineOffsetAtBegin, designLineOffsetAtEnd, endWidth, length, parentLink| Constructor and Description |
|---|
Shoulder(CrossSectionLink parentLink,
String id,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> lateralPosition,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> beginWidth,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> endWidth) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
getZ() |
String |
toString() |
equals, getBeginWidth, getBounds, getCenterLine, getContour, getDesignLineOffsetAtBegin, getDesignLineOffsetAtEnd, getEndWidth, getId, getLateralBoundaryPosition, getLateralBoundaryPosition, getLateralCenterPosition, getLateralCenterPosition, getLength, getLocation, getParentLink, getWidth, getWidth, hashCodepublic Shoulder(CrossSectionLink parentLink, String id, org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> lateralPosition, org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> beginWidth, org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> endWidth) throws OTSGeometryException, NetworkException
parentLink - Cross Section Link to which the element belongs.id - String; the id of the lane. Should be unique within the parentLink.lateralPosition - the lateral start position compared to the linear geometry of the Cross Section Link.beginWidth - start width, positioned symmetrically around the lateral start position.endWidth - end width, positioned symmetrically around the lateral end position.OTSGeometryException - when creation of the center line or contour geometry failsNetworkException - when id equal to null or not uniqueprotected final double getZ()
getZ in class CrossSectionElementpublic String toString()
toString in class CrossSectionElementCopyright © 2014–2015 Delft University of Technology. All rights reserved.