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