Package org.opentrafficsim.core.geometry
Class ContinuousArcTest
java.lang.Object
org.opentrafficsim.core.geometry.ContinuousArcTest
Tests for ContinuousArc.
Copyright (c) 2023-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Wouter Schakel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Tests the return values of standard continuous line methods.void
Test flattened arc based on max errors.void
Test flattened arc.void
Test input.void
Test arc defined by length.void
Test offset arc based on max errors.void
Test offset arc.
-
Constructor Details
-
ContinuousArcTest
public ContinuousArcTest()
-
-
Method Details
-
inputTest
@Test public void inputTest()Test input. -
continuousLineTest
@Test public void continuousLineTest()Tests the return values of standard continuous line methods. -
flattenArcTest
Test flattened arc.- Throws:
OtsGeometryException
- if test is ill defined.
-
flattenArcErrorTest
@Test public void flattenArcErrorTest()Test flattened arc based on max errors. -
offsetArcTest
Test offset arc.- Throws:
OtsGeometryException
- if test is ill defined.
-
offsetArcErrorTest
@Test public void offsetArcErrorTest()Test offset arc based on max errors. -
lengthTest
Test arc defined by length.- Throws:
OtsGeometryException
- if test is ill defined.
-