Changeset 25469 in osm for applications/editors/josm/plugins/buildings_tools/src
- Timestamp:
- 2011-02-28T12:17:19+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/buildings_tools/src/buildings_tools/Building.java
r23190 r25469 28 28 29 29 class Building { 30 private static final double eqlen = 40075004; // length of equator in metres31 30 private final EastNorth[] en = new EastNorth[4]; 32 31 … … 83 82 84 83 private void updMetrics() { 85 meter = 2 * Math.PI / (Math.cos(Math.toRadians(eastNorth2latlon(en[0]).lat())) * eqlen);84 meter = 1 / Math.cos(Math.toRadians(eastNorth2latlon(en[0]).lat())); 86 85 len = 0; 87 86 }
Note:
See TracChangeset
for help on using the changeset viewer.