NODEID - the ID type of the Node, e.g., String.LINKID - the ID type of the Link, e.g., String.public class Shoulder<LINKID,NODEID> extends CrossSectionElement<LINKID,NODEID>
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-07-26 22:05:02 +0200 (Sun, 26 Jul 2015) $, @version $Revision: 1156 $, by $Author: averbraeck $,
initial version Aug 19, 2014
beginWidth, designLineOffsetAtBegin, designLineOffsetAtEnd, endWidth, length, parentLink| Constructor and Description |
|---|
Shoulder(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
getZ() |
String |
toString() |
getBeginWidth, getBounds, getCenterLine, getContour, getDesignLineOffsetAtBegin, getDesignLineOffsetAtEnd, getEndWidth, getLateralBoundaryPosition, getLateralBoundaryPosition, getLateralCenterPosition, getLateralCenterPosition, getLength, getLocation, getParentLink, getWidth, getWidthpublic Shoulder(CrossSectionLink<LINKID,NODEID> parentLink, DoubleScalar.Rel<LengthUnit> lateralPosition, DoubleScalar.Rel<LengthUnit> beginWidth, DoubleScalar.Rel<LengthUnit> endWidth) throws OTSGeometryException
parentLink - Cross Section Link to which the element belongs.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 failsprotected final double getZ()
getZ in class CrossSectionElement<LINKID,NODEID>public String toString()
toString in class CrossSectionElement<LINKID,NODEID>Copyright © 2014–2015 Delft University of Technology. All rights reserved.