Changeset 13627 in josm
- Timestamp:
- 2018-04-14T16:28:42+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/projection/datum
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/datum/AbstractDatum.java
r12453 r13627 8 8 * 9 9 * Adds common fields and access methods. 10 * @since 4285 10 11 */ 11 12 public abstract class AbstractDatum implements Datum { -
trunk/src/org/openstreetmap/josm/data/projection/datum/CentricDatum.java
r8846 r13627 8 8 * A datum with different ellipsoid than WGS84, but does not require 9 9 * shift, rotation or scaling. 10 * @since 4285 10 11 */ 11 12 public class CentricDatum extends AbstractDatum { 12 13 14 /** 15 * Constructs a new {@code CentricDatum}. 16 * @param name Datum name 17 * @param proj4Id proj.4 identifier 18 * @param ellps Ellipsoid. Must be non-null and different from WGS84 19 */ 13 20 public CentricDatum(String name, String proj4Id, Ellipsoid ellps) { 14 21 super(name, proj4Id, ellps); -
trunk/src/org/openstreetmap/josm/data/projection/datum/Datum.java
r9243 r13627 9 9 * 10 10 * Basically it provides conversion functions from and to the WGS84 datum. 11 * @since 4285 11 12 */ 12 13 public interface Datum { -
trunk/src/org/openstreetmap/josm/data/projection/datum/GRS80Datum.java
r6883 r13627 9 9 * This datum indicates, that GRS80 ellipsoid is used and no conversion 10 10 * is necessary to get from or to the WGS84 datum. 11 * @since 4285 11 12 */ 12 13 public final class GRS80Datum extends NullDatum { -
trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2Datum.java
r11642 r13627 10 10 /** 11 11 * Datum based of NTV2 grid shift file. 12 * @since 5073 12 13 */ 13 14 public class NTV2Datum extends AbstractDatum { -
trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2GridShiftFile.java
r13588 r13627 63 63 * Modified for JOSM : 64 64 * - removed the RandomAccessFile mode (Pieren) 65 * @since 2507 65 66 */ 66 67 public class NTV2GridShiftFile implements Serializable { … … 299 300 } 300 301 302 /** 303 * Returns "from" ellipsoid identifier. 304 * @return "from" ellipsoid identifier 305 */ 301 306 public String getFromEllipsoid() { 302 307 return fromEllipsoid; 303 308 } 304 309 310 /** 311 * Returns "to" ellipsoid identifier. 312 * @return "to" ellipsoid identifier 313 */ 305 314 public String getToEllipsoid() { 306 315 return toEllipsoid; -
trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2GridShiftFileWrapper.java
r12788 r13627 19 19 private final String gridFileName; 20 20 21 /** Priority for local NTV2 grid files */ 21 22 public static final float NTV2_SOURCE_PRIORITY_LOCAL = 10f; 23 /** Priority for downloaded NTV2 grid files */ 22 24 public static final float NTV2_SOURCE_PRIORITY_DOWNLOAD = 5f; 23 25 -
trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2SubGrid.java
r12620 r13627 29 29 30 30 /** 31 * Models the NTv2 Sub Grid within a Grid Shift File 31 * Models the NTv2 Sub Grid within a Grid Shift File. 32 32 * 33 33 * @author Peter Yuill … … 37 37 * file reading by group of 4 bytes from a jar file. 38 38 * - removed the Cloneable interface 39 * @since 2507 39 40 */ 40 41 public class NTV2SubGrid implements Serializable { … … 261 262 } 262 263 264 /** 265 * Returns the parent sub grid name. 266 * @return the parent sub grid name 267 */ 263 268 public String getParentSubGridName() { 264 269 return parentSubGridName; 265 270 } 266 271 272 /** 273 * Returns the sub grid name. 274 * @return the sub grid name 275 */ 267 276 public String getSubGridName() { 268 277 return subGridName; 269 278 } 270 279 280 /** 281 * Returns the node count. 282 * @return the node count 283 */ 271 284 public int getNodeCount() { 272 285 return nodeCount; 273 286 } 274 287 288 /** 289 * Returns the sub grid count. 290 * @return the sub grid count 291 */ 275 292 public int getSubGridCount() { 276 293 return subGrid == null ? 0 : subGrid.length; -
trunk/src/org/openstreetmap/josm/data/projection/datum/NullDatum.java
r7937 r13627 6 6 7 7 /** 8 * Null Datum does not convert from / to WGS84 ellipsoid, but simply "casts" 9 * the coordinates.8 * Null Datum does not convert from / to WGS84 ellipsoid, but simply "casts" the coordinates. 9 * @since 4285 10 10 */ 11 11 public class NullDatum extends AbstractDatum { 12 12 13 /** 14 * Constructs a new {@code NullDatum}. 15 * @param name name of the datum 16 * @param ellps the ellipsoid used 17 */ 13 18 public NullDatum(String name, Ellipsoid ellps) { 14 19 super(name, null, ellps); -
trunk/src/org/openstreetmap/josm/data/projection/datum/SevenParameterDatum.java
r12279 r13627 16 16 * This method is described by EPSG as EPSG:9606. 17 17 * Also known as Bursa-Wolf. 18 * @since 4285 18 19 */ 19 20 public class SevenParameterDatum extends AbstractDatum { … … 22 23 23 24 /** 24 * 25 * Constructs a new {@code SevenParameterDatum} 25 26 * @param name name of the datum 26 27 * @param proj4Id Proj.4 identifier for this datum (or null) -
trunk/src/org/openstreetmap/josm/data/projection/datum/ThreeParameterDatum.java
r6069 r13627 7 7 /** 8 8 * Datum provides 3 dimensional offset and ellipsoid conversion. 9 * @since 4285 9 10 */ 10 11 public class ThreeParameterDatum extends AbstractDatum { … … 12 13 protected double dx, dy, dz; 13 14 15 /** 16 * Constructs a new {@code ThreeParameterDatum}. 17 * @param name name of the datum 18 * @param proj4Id Proj.4 identifier for this datum (or null) 19 * @param ellps the ellipsoid used 20 * @param dx x offset in meters 21 * @param dy y offset in meters 22 * @param dz z offset in meters 23 */ 14 24 public ThreeParameterDatum(String name, String proj4Id, Ellipsoid ellps, double dx, double dy, double dz) { 15 25 super(name, proj4Id, ellps); -
trunk/src/org/openstreetmap/josm/data/projection/datum/WGS84Datum.java
r6362 r13627 8 8 /** 9 9 * WGS84 datum. Transformation from and to WGS84 datum is a no-op. 10 * @since 4285 10 11 */ 11 12 public final class WGS84Datum extends NullDatum { 12 13 14 /** 15 * The unique instance. 16 */ 13 17 public static final WGS84Datum INSTANCE = new WGS84Datum(); 14 18
Note:
See TracChangeset
for help on using the changeset viewer.