public class CrossSectionSlice extends Object implements Serializable
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.
| Constructor and Description |
|---|
CrossSectionSlice(org.djunits.value.vdouble.scalar.Length relativeLength,
org.djunits.value.vdouble.scalar.Length designLineOffset,
org.djunits.value.vdouble.scalar.Length width) |
| Modifier and Type | Method and Description |
|---|---|
org.djunits.value.vdouble.scalar.Length |
getDesignLineOffset() |
org.djunits.value.vdouble.scalar.Length |
getRelativeLength() |
org.djunits.value.vdouble.scalar.Length |
getWidth() |
String |
toString() |
public CrossSectionSlice(org.djunits.value.vdouble.scalar.Length relativeLength,
org.djunits.value.vdouble.scalar.Length designLineOffset,
org.djunits.value.vdouble.scalar.Length 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 getRelativeLength()
public final org.djunits.value.vdouble.scalar.Length getDesignLineOffset()
public final org.djunits.value.vdouble.scalar.Length getWidth()
Copyright © 2014–2016 Delft University of Technology. All rights reserved.