public class Shoulder extends CrossSectionElement
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
Shoulder(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
getZ() |
getBounds, getCenterLine, getContour, getLateralBoundaryPosition, getLateralBoundaryPosition, getLateralCenterPosition, getLateralCenterPosition, getLength, getLocation, getParentLink, getWidth, getWidth, printCoordinate, printCoordinates, printCoordinates, printCoordinates, printCoordinates, toStringpublic Shoulder(CrossSectionLink<?,?> parentLink, DoubleScalar.Rel<LengthUnit> lateralPosition, DoubleScalar.Rel<LengthUnit> beginWidth, DoubleScalar.Rel<LengthUnit> endWidth) throws NetworkException
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.NetworkExceptionprotected final double getZ()
getZ in class CrossSectionElementCopyright © 2014–2015 Delft University of Technology. All rights reserved.