Package org.opentrafficsim.animation.gis
Class CoordinateTransformWgs84toRdNew
java.lang.Object
org.opentrafficsim.animation.gis.CoordinateTransformWgs84toRdNew
- All Implemented Interfaces:
nl.tudelft.simulation.dsol.animation.gis.transform.CoordinateTransform
public class CoordinateTransformWgs84toRdNew
extends Object
implements nl.tudelft.simulation.dsol.animation.gis.transform.CoordinateTransform
Convert coordinates from WGS84 to the Dutch RD system. The coordinate transform can be offered to the gisbeans package when
parsing GIS coordinates.
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface nl.tudelft.simulation.dsol.animation.gis.transform.CoordinateTransform
nl.tudelft.simulation.dsol.animation.gis.transform.CoordinateTransform.NoTransform -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal DoubleXYdoubleTransform(double x, double y) final FloatXYfloatTransform(double x, double y) final FloatXYfloatTransform(float x, float y) final StringtoString()
-
Constructor Details
-
CoordinateTransformWgs84toRdNew
public CoordinateTransformWgs84toRdNew(double dx, double dy) Constructor.- Parameters:
dx- the coordinate shift dx w.r.t. the origin if not in Amersfoort. dx will be subtracted from each RD.x coordinatedy- the coordinate shift dy w.r.t. the origin if not in Amersfoort. dy will be subtracted from each RD.y coordinate
-
-
Method Details
-
floatTransform
- Specified by:
floatTransformin interfacenl.tudelft.simulation.dsol.animation.gis.transform.CoordinateTransform
-
floatTransform
- Specified by:
floatTransformin interfacenl.tudelft.simulation.dsol.animation.gis.transform.CoordinateTransform
-
doubleTransform
- Specified by:
doubleTransformin interfacenl.tudelft.simulation.dsol.animation.gis.transform.CoordinateTransform
-
toString
-