public abstract class Barrier extends RoadMarkerAlong
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-28 15:20:36 +0200 (Fri, 28 Aug 2015) $, @version $Revision: 1315 $, by $Author: averbraeck $,
initial version Oct 25, 2014
beginWidth, designLineOffsetAtBegin, designLineOffsetAtEnd, endWidth, length, parentLink| Constructor and Description |
|---|
Barrier(CrossSectionLink parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
addPermeability, getZ, isPermeableequals, getBeginWidth, getBounds, getCenterLine, getContour, getDesignLineOffsetAtBegin, getDesignLineOffsetAtEnd, getEndWidth, getId, getLateralBoundaryPosition, getLateralBoundaryPosition, getLateralCenterPosition, getLateralCenterPosition, getLength, getLocation, getParentLink, getWidth, getWidth, hashCode, toStringpublic Barrier(CrossSectionLink parentLink, DoubleScalar.Rel<LengthUnit> lateralCenterPosition, DoubleScalar.Rel<LengthUnit> beginWidth, DoubleScalar.Rel<LengthUnit> endWidth) throws OTSGeometryException, NetworkException
parentLink - Cross Section Link to which the element belongs.lateralCenterPosition - 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 uniqueCopyright © 2014–2015 Delft University of Technology. All rights reserved.