public class CrossSectionSlice extends Object implements Serializable
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 |
---|
CrossSectionSlice(org.djunits.value.vdouble.scalar.Length relativeLength,
org.djunits.value.vdouble.scalar.Length designLineOffset,
org.djunits.value.vdouble.scalar.Length width)
Construct a new CrossSectionSlice.
|
Modifier and Type | Method and Description |
---|---|
org.djunits.value.vdouble.scalar.Length |
getDesignLineOffset()
Retrieve the design line offset.
|
org.djunits.value.vdouble.scalar.Length |
getRelativeLength()
Retrieve the relative length.
|
org.djunits.value.vdouble.scalar.Length |
getWidth()
Retrieve the width.
|
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
- Length; the relative position from the start, measured along the design line of the parent linkdesignLineOffset
- Length; the lateral offset from the design line of the parentLink at the relative lengthwidth
- Length; 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–2017 Delft University of Technology. All rights reserved.