public class CSEBlock extends AbstractCSEObject
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.
listenersFIRST_POSITION, LAST_POSITION| Constructor and Description |
|---|
CSEBlock(org.opentrafficsim.core.geometry.OTSLine3D geometry,
org.djunits.value.vdouble.scalar.Length height) |
| Modifier and Type | Method and Description |
|---|---|
static CSEBlock |
createCrossSectionElementBlock(CrossSectionElement cse,
org.djunits.value.vdouble.scalar.Length position) |
String |
toString() |
createRectangleNextToCSE, createRectangleOnCSEgetBounds, getGeometry, getHeight, getLocationaddListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, removeAllListeners, removeAllListeners, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, addListener, addListener, addListener, removeListenerpublic CSEBlock(org.opentrafficsim.core.geometry.OTSLine3D geometry,
org.djunits.value.vdouble.scalar.Length height)
geometry - the geometry of the objectheight - the height of the objectpublic static CSEBlock createCrossSectionElementBlock(CrossSectionElement cse, org.djunits.value.vdouble.scalar.Length position) throws org.opentrafficsim.core.geometry.OTSGeometryException
cse - the cross section element, e.g. lane, where the block is locatedposition - the relative position on the design line of the link for this blockorg.opentrafficsim.core.geometry.OTSGeometryException - in case the position is outside the CSEpublic String toString()
toString in class org.opentrafficsim.core.object.StaticObjectCopyright © 2014–2016 Delft University of Technology. All rights reserved.