Changeset 8444 in josm for trunk/src/org/openstreetmap/josm/data/projection/datum
- Timestamp:
- 2015-06-02T16:41:37+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/datum/SevenParameterDatum.java
r6069 r8444 50 50 double y = dy + xyz[1]*(1+s) + xyz[0]*rz - xyz[2]*rx; 51 51 double z = dz + xyz[2]*(1+s) + xyz[1]*rx - xyz[0]*ry; 52 return Ellipsoid.WGS84.cart2LatLon(new double[] { x, y, z});52 return Ellipsoid.WGS84.cart2LatLon(new double[] {x, y, z}); 53 53 } 54 54 … … 59 59 double y = (1-s)*(-dy + xyz[1] + ((-dx+xyz[0])*(-rz) - (-dz+xyz[2])*(-rx))); 60 60 double z = (1-s)*(-dz + xyz[2] + ((-dy+xyz[1])*(-rx) - (-dx+xyz[0])*(-ry))); 61 return this.ellps.cart2LatLon(new double[] { x, y, z});61 return this.ellps.cart2LatLon(new double[] {x, y, z}); 62 62 } 63 64 63 }
Note:
See TracChangeset
for help on using the changeset viewer.
