Package org.opentrafficsim.core.gis
Class CoordinateTransformWGS84toRDNew
- java.lang.Object
-
- org.opentrafficsim.core.gis.CoordinateTransformWGS84toRDNew
-
- All Implemented Interfaces:
java.io.Serializable,CoordinateTransform
public class CoordinateTransformWGS84toRDNew extends java.lang.Object implements CoordinateTransform, java.io.Serializable
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-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, initial version Oct 29, 2016
BSD-style license. See OpenTrafficSim License.- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface nl.javel.gisbeans.io.esri.CoordinateTransform
CoordinateTransform.NoTransform
-
-
Constructor Summary
Constructors Constructor Description CoordinateTransformWGS84toRDNew(double dx, double dy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]doubleTransform(double x, double y)float[]floatTransform(double x, double y)java.lang.StringtoString()
-
-
-
Constructor Detail
-
CoordinateTransformWGS84toRDNew
public CoordinateTransformWGS84toRDNew(double dx, double dy)- Parameters:
dx- double; the coordinate shift dx w.r.t. the origin if not in Amersfoort. dx will be subtracted from each RD.x coordinatedy- double; the coordinate shift dy w.r.t. the origin if not in Amersfoort. dy will be subtracted from each RD.y coordinate
-
-
Method Detail
-
floatTransform
public final float[] floatTransform(double x, double y)- Specified by:
floatTransformin interfaceCoordinateTransform
-
doubleTransform
public final double[] doubleTransform(double x, double y)- Specified by:
doubleTransformin interfaceCoordinateTransform
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-