Package org.opentrafficsim.core.geometry
Class BufferingTests
java.lang.Object
org.opentrafficsim.core.geometry.BufferingTests
public class BufferingTests
extends java.lang.Object
Test the alternative offset line classes.
- Author:
- Peter Knoppers
-
Constructor Summary
Constructors Constructor Description BufferingTests()
-
Method Summary
Modifier and Type Method Description void
fractionalOffsetLineTest()
Test the offsetLine method that takes relative fraction and offsets arrays.static void
main(java.lang.String[] args)
void
testVariousBufferings()
Test some very simple cases of offset line.
-
Constructor Details
-
BufferingTests
public BufferingTests()
-
-
Method Details
-
testVariousBufferings
public void testVariousBufferings() throws org.opentrafficsim.core.geometry.OTSGeometryExceptionTest some very simple cases of offset line.- Throws:
org.opentrafficsim.core.geometry.OTSGeometryException
- if that happens uncaught; this test has failed
-
fractionalOffsetLineTest
public void fractionalOffsetLineTest() throws org.opentrafficsim.core.geometry.OTSGeometryExceptionTest the offsetLine method that takes relative fraction and offsets arrays.- Throws:
org.opentrafficsim.core.geometry.OTSGeometryException
- if that happens uncaught; this test has failed
-
main
public static void main(java.lang.String[] args) throws org.opentrafficsim.core.network.NetworkException, org.opentrafficsim.core.geometry.OTSGeometryException- Parameters:
args
- String[]; args- Throws:
org.opentrafficsim.core.network.NetworkException
- on errororg.opentrafficsim.core.geometry.OTSGeometryException
- on error
-