Class OtsGeometryUtilTest

java.lang.Object
org.opentrafficsim.base.geometry.OtsGeometryUtilTest

public class OtsGeometryUtilTest extends Object
Test the methods in the OtsGeometryUtil class.

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:
Peter Knoppers, Wouter Schakel
  • Constructor Details

    • OtsGeometryUtilTest

      public OtsGeometryUtilTest()
  • Method Details

    • geometryTest

      @Test public final void geometryTest()
      Test the printCoordinate family of functions.
    • testNumSegments

      @Test public void testNumSegments()
      Tests that getNumSegmentsForRadius is correct.
    • testOffsetPoint

      @Test public void testOffsetPoint()
      Test offset point.