public class CrossSectionSlice extends Object
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 |
---|
CrossSectionSlice(org.djunits.value.vdouble.scalar.Length.Rel relativeLength,
org.djunits.value.vdouble.scalar.Length.Rel designLineOffset,
org.djunits.value.vdouble.scalar.Length.Rel width) |
Modifier and Type | Method and Description |
---|---|
org.djunits.value.vdouble.scalar.Length.Rel |
getDesignLineOffset() |
org.djunits.value.vdouble.scalar.Length.Rel |
getRelativeLength() |
org.djunits.value.vdouble.scalar.Length.Rel |
getWidth() |
public CrossSectionSlice(org.djunits.value.vdouble.scalar.Length.Rel relativeLength, org.djunits.value.vdouble.scalar.Length.Rel designLineOffset, org.djunits.value.vdouble.scalar.Length.Rel width)
relativeLength
- the relative position from the start, measured along the design line of the parent linkdesignLineOffset
- the lateral offset from the design line of the parentLink at the relative lengthwidth
- the width, positioned symmetrically around the position at the relative lengthpublic final org.djunits.value.vdouble.scalar.Length.Rel getRelativeLength()
public final org.djunits.value.vdouble.scalar.Length.Rel getDesignLineOffset()
public final org.djunits.value.vdouble.scalar.Length.Rel getWidth()
Copyright © 2014–2016 Delft University of Technology. All rights reserved.