public abstract class Barrier extends RoadMarkerAlong
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-03 13:38:01 +0200 (Thu, 03 Sep 2015) $, @version $Revision: 1378 $, by $Author: averbraeck $,
initial version Oct 25, 2014
crossSectionSlices, length, parentLink
Constructor and Description |
---|
Barrier(CrossSectionLink parentLink,
org.djunits.value.vdouble.scalar.Length beginCenterPosition,
org.djunits.value.vdouble.scalar.Length endCenterPosition,
org.djunits.value.vdouble.scalar.Length beginWidth,
org.djunits.value.vdouble.scalar.Length 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, getPermeabilityMap, getZ, isPermeable
clone, constructContour, equals, getBeginWidth, getBounds, getCenterLine, getContour, getDesignLineOffsetAtBegin, getDesignLineOffsetAtEnd, getEndWidth, getId, getLateralBoundaryPosition, getLateralBoundaryPosition, getLateralCenterPosition, getLateralCenterPosition, getLength, getLocation, getParentLink, getWidth, getWidth, hashCode, toString
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, removeAllListeners, removeAllListeners, removeListener
public Barrier(CrossSectionLink parentLink, org.djunits.value.vdouble.scalar.Length beginCenterPosition, org.djunits.value.vdouble.scalar.Length endCenterPosition, org.djunits.value.vdouble.scalar.Length beginWidth, org.djunits.value.vdouble.scalar.Length endWidth) throws org.opentrafficsim.core.geometry.OTSGeometryException, org.opentrafficsim.core.network.NetworkException
parentLink
- CrossSectionLink; the cross section link to which the element belongs.beginCenterPosition
- Length; the lateral start position compared to the linear geometry of the cross section link.endCenterPosition
- Length; the lateral end position compared to the linear geometry of the Cross Section Link.beginWidth
- Length; start width, positioned symmetrically around the lateral start position.endWidth
- Length; end width, positioned symmetrically around the lateral end position.org.opentrafficsim.core.geometry.OTSGeometryException
- when creation of the center line or contour geometry failsorg.opentrafficsim.core.network.NetworkException
- when id equal to null or not uniqueCopyright © 2014–2016 Delft University of Technology. All rights reserved.