Class Test

java.lang.Object
org.opentrafficsim.core.geometry.Test

public final class Test extends Object

Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Peter Knoppers
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static boolean
    Print detailed output.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Kink near end of design line.
    static void
    Kink halfway (far from any endpoint).
    static void
    Kink plus decreasing width.
    static void
    Two kinks, (too) close together.
    static void
    Two-segment design line with minimal change of direction.
    static void
    Straight design line with some noise (sufficiently far from the end points).
    static void
    Straight design line with more noise (sufficiently far from the end points).
    static void
    Straight design line with more noise (close to the end points).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • printDetails

      static boolean printDetails
      Print detailed output.
  • Method Details

    • test1

      public static void test1() throws org.opentrafficsim.core.geometry.OtsGeometryException
      Kink near end of design line.
      Throws:
      org.opentrafficsim.core.geometry.OtsGeometryException - on error
    • test2

      public static void test2() throws org.opentrafficsim.core.geometry.OtsGeometryException
      Kink halfway (far from any endpoint).
      Throws:
      org.opentrafficsim.core.geometry.OtsGeometryException - on error
    • test3

      public static void test3() throws org.opentrafficsim.core.geometry.OtsGeometryException
      Kink plus decreasing width.
      Throws:
      org.opentrafficsim.core.geometry.OtsGeometryException - on error
    • test4

      public static void test4() throws org.opentrafficsim.core.geometry.OtsGeometryException
      Two kinks, (too) close together.
      Throws:
      org.opentrafficsim.core.geometry.OtsGeometryException - on error
    • test5

      public static void test5() throws org.opentrafficsim.core.geometry.OtsGeometryException
      Two-segment design line with minimal change of direction.
      Throws:
      org.opentrafficsim.core.geometry.OtsGeometryException - on error
    • test6

      public static void test6() throws org.opentrafficsim.core.geometry.OtsGeometryException
      Straight design line with some noise (sufficiently far from the end points).
      Throws:
      org.opentrafficsim.core.geometry.OtsGeometryException - on error
    • test7

      public static void test7() throws org.opentrafficsim.core.geometry.OtsGeometryException
      Straight design line with more noise (sufficiently far from the end points).
      Throws:
      org.opentrafficsim.core.geometry.OtsGeometryException - on error
    • test8

      public static void test8() throws org.opentrafficsim.core.geometry.OtsGeometryException
      Straight design line with more noise (close to the end points).
      Throws:
      org.opentrafficsim.core.geometry.OtsGeometryException - on error