Class RDTests


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

    Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
    BSD-style license. See OpenTrafficSim License.

    Version:
    $Revision$, $LastChangedDate$, by $Author$, initial version Oct 30, 2018
    Author:
    Alexander Verbraeck, Peter Knoppers, Wouter Schakel
    • Constructor Detail

      • RDTests

        public RDTests()
    • Method Detail

      • 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

        public final void testMain()
        Test the transformations.