public class CSEBlock extends AbstractCSEObject
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.
Constructor and Description |
---|
CSEBlock(org.opentrafficsim.core.geometry.OTSLine3D geometry,
org.djunits.value.vdouble.scalar.Length.Rel height) |
Modifier and Type | Method and Description |
---|---|
static CSEBlock |
createCrossSectionElementBlock(CrossSectionElement cse,
org.djunits.value.vdouble.scalar.Length.Rel position) |
createRectangleNextToCSE, createRectangleOnCSE
public CSEBlock(org.opentrafficsim.core.geometry.OTSLine3D geometry, org.djunits.value.vdouble.scalar.Length.Rel height)
geometry
- the geometry of the objectheight
- the height of the objectpublic static CSEBlock createCrossSectionElementBlock(CrossSectionElement cse, org.djunits.value.vdouble.scalar.Length.Rel 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 CSECopyright © 2014–2016 Delft University of Technology. All rights reserved.