Package org.opentrafficsim.core.geometry
Class Test
java.lang.Object
org.opentrafficsim.core.geometry.Test
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
Modifier and TypeFieldDescription(package private) static boolean
Print detailed output. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
test1()
Kink near end of design line.static void
test2()
Kink halfway (far from any endpoint).static void
test3()
Kink plus decreasing width.static void
test4()
Two kinks, (too) close together.static void
test5()
Two-segment design line with minimal change of direction.static void
test6()
Straight design line with some noise (sufficiently far from the end points).static void
test7()
Straight design line with more noise (sufficiently far from the end points).static void
test8()
Straight design line with more noise (close to the end points).
-
Field Details
-
printDetails
static boolean printDetailsPrint detailed output.
-
-
Method Details
-
test1
Kink near end of design line.- Throws:
OtsGeometryException
- on error
-
test2
Kink halfway (far from any endpoint).- Throws:
OtsGeometryException
- on error
-
test3
Kink plus decreasing width.- Throws:
OtsGeometryException
- on error
-
test4
Two kinks, (too) close together.- Throws:
OtsGeometryException
- on error
-
test5
Two-segment design line with minimal change of direction.- Throws:
OtsGeometryException
- on error
-
test6
Straight design line with some noise (sufficiently far from the end points).- Throws:
OtsGeometryException
- on error
-
test7
Straight design line with more noise (sufficiently far from the end points).- Throws:
OtsGeometryException
- on error
-
test8
Straight design line with more noise (close to the end points).- Throws:
OtsGeometryException
- on error
-