public final class OTSOffsetLinePK extends Object
 Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
| Modifier and Type | Method and Description | 
|---|---|
| static OTSLine3D | offsetLine(OTSLine3D referenceLine,
          double offset)Construct an offset line. | 
public static OTSLine3D offsetLine(OTSLine3D referenceLine, double offset) throws OTSGeometryException
referenceLine - OTSLine3D; the reference lineoffset - double; the offset; positive values indicate left of the reference line, negative values indicate right of
            the reference lineOTSGeometryException - when this method runs into major trouble and cannot produce a decent resultCopyright © 2014–2019 Delft University of Technology. All rights reserved.