Changeset 12279 in josm for trunk/src/org/openstreetmap/josm/data/projection/datum/SevenParameterDatum.java
- Timestamp:
- 2017-05-30T15:12:36+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/datum/SevenParameterDatum.java
r12013 r12279 52 52 double y = dy + xyz[1]*(1+s) + xyz[0]*rz - xyz[2]*rx; 53 53 double z = dz + xyz[2]*(1+s) + xyz[1]*rx - xyz[0]*ry; 54 return Ellipsoid.WGS84.cart2LatLon( new double[] {x, y, z});54 return Ellipsoid.WGS84.cart2LatLon(x, y, z); 55 55 } 56 56 … … 61 61 double y = (1-s)*(-dy + xyz[1] + ((-dx+xyz[0])*(-rz) - (-dz+xyz[2])*(-rx))); 62 62 double z = (1-s)*(-dz + xyz[2] + ((-dy+xyz[1])*(-rx) - (-dx+xyz[0])*(-ry))); 63 return this.ellps.cart2LatLon( new double[] {x, y, z});63 return this.ellps.cart2LatLon(x, y, z); 64 64 } 65 65 }
Note:
See TracChangeset
for help on using the changeset viewer.