public class CoordinateTransformLonLatToXY extends Object implements CoordinateTransform
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
CoordinateTransform.NoTransform| Constructor and Description |
|---|
CoordinateTransformLonLatToXY(double lonCenter,
double latCenter)
Transformation from: https://en.wikipedia.org/wiki/Geographic_coordinate_system.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
doubleTransform(double lon,
double lat) |
double[] |
doubleTransformWSG84toCartesianXY(double lon,
double lat) |
float[] |
floatTransform(double lon,
double lat) |
public CoordinateTransformLonLatToXY(double lonCenter,
double latCenter)
latCenter - the latitude of the center point (0, 0)lonCenter - the longitude of the center point (0, 0)public float[] floatTransform(double lon,
double lat)
floatTransform in interface CoordinateTransformpublic double[] doubleTransformWSG84toCartesianXY(double lon,
double lat)
public double[] doubleTransform(double lon,
double lat)
doubleTransform in interface CoordinateTransformCopyright © 2014–2016 Delft University of Technology. All rights reserved.