public class Conflict.ConflictEnd extends AbstractLaneBasedObject
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
ConflictEnd(Conflict conflict,
Lane lane,
org.opentrafficsim.core.network.LongitudinalDirectionality direction,
org.djunits.value.vdouble.scalar.Length longitudinalPosition) |
Modifier and Type | Method and Description |
---|---|
AbstractLaneBasedObject |
clone(CrossSectionElement newCSE,
org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator,
boolean animation)
Clone the LaneBasedObject for e.g., copying a network.
|
Conflict |
getConflict() |
clone, getDirection, getFullId, getLane, getLocation, getLongitudinalPosition, toString
getBounds, getGeometry, getHeight, getId
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, removeAllListeners, removeAllListeners, removeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBounds, makeGeometry
ConflictEnd(Conflict conflict, Lane lane, org.opentrafficsim.core.network.LongitudinalDirectionality direction, org.djunits.value.vdouble.scalar.Length longitudinalPosition) throws org.opentrafficsim.core.network.NetworkException, org.opentrafficsim.core.geometry.OTSGeometryException
conflict
- conflictlane
- lanedirection
- valid directionlongitudinalPosition
- positionorg.opentrafficsim.core.network.NetworkException
- on network exceptionorg.opentrafficsim.core.geometry.OTSGeometryException
- does not happenpublic final Conflict getConflict()
public final AbstractLaneBasedObject clone(CrossSectionElement newCSE, org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator, boolean animation) throws org.opentrafficsim.core.network.NetworkException
clone
in class AbstractLaneBasedObject
newCSE
- CrossSectionElement; the new cross section element to which the clone belongsnewSimulator
- OTSSimulatorInterface; the new simulator for this networkanimation
- boolean; whether to (re)create animation or notorg.opentrafficsim.core.network.NetworkException
- in case the cloning failsCopyright © 2014–2017 Delft University of Technology. All rights reserved.