Class RDTests

java.lang.Object
org.opentrafficsim.core.gis.RDTests

public class RDTests extends Object
Test the Dutch RD to and from WGS84 transformations.

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

    • RDTests

      public RDTests()
  • Method Details

    • forwardReverseCompare

      final void forwardReverseCompare(String description, Point2D rdIn)
      Perform conversion to WGS84 and back and compare the results.
      Parameters:
      description - String; description of the test
      rdIn - Point2D; location to test
    • testMain

      @Test public final void testMain()
      Test the transformations.