diff --git a/src/org/openstreetmap/josm/data/projection/AbstractProjection.java b/src/org/openstreetmap/josm/data/projection/AbstractProjection.java
index 91f17c9..c9a5ebf 100644
|
a
|
b
|
public abstract class AbstractProjection implements Projection {
|
| 36 | 36 | |
| 37 | 37 | private volatile ProjectionBounds projectionBoundsBox; |
| 38 | 38 | |
| | 39 | /** |
| | 40 | * Get the base ellipsoid that this projection uses. |
| | 41 | * @return The {@link Ellipsoid} |
| | 42 | */ |
| 39 | 43 | public final Ellipsoid getEllipsoid() { |
| 40 | 44 | return ellps; |
| 41 | 45 | } |
| 42 | 46 | |
| | 47 | /** |
| | 48 | * Gets the datum this projection is based on. |
| | 49 | * @return The datum |
| | 50 | */ |
| 43 | 51 | public final Datum getDatum() { |
| 44 | 52 | return datum; |
| 45 | 53 | } |
| … |
… |
public abstract class AbstractProjection implements Projection {
|
| 52 | 60 | return proj; |
| 53 | 61 | } |
| 54 | 62 | |
| | 63 | /** |
| | 64 | * Gets an east offset that gets applied when converting the coordinate |
| | 65 | * @return The offset to apply in meter |
| | 66 | */ |
| 55 | 67 | public final double getFalseEasting() { |
| 56 | 68 | return x0; |
| 57 | 69 | } |
| 58 | 70 | |
| | 71 | /** |
| | 72 | * Gets an north offset that gets applied when converting the coordinate |
| | 73 | * @return The offset to apply in meter |
| | 74 | */ |
| 59 | 75 | public final double getFalseNorthing() { |
| 60 | 76 | return y0; |
| 61 | 77 | } |
| 62 | 78 | |
| | 79 | /** |
| | 80 | * Gets the meridian that this projection is centered on. |
| | 81 | * @return The longitude of the meridian. |
| | 82 | */ |
| 63 | 83 | public final double getCentralMeridian() { |
| 64 | 84 | return lon0; |
| 65 | 85 | } |
| … |
… |
public abstract class AbstractProjection implements Projection {
|
| 75 | 95 | * always given in meters, which means the preliminary projection result will |
| 76 | 96 | * be in meters as well. This factor is used to convert to the intended units |
| 77 | 97 | * of east/north coordinates (e.g. feet in the US). |
| 78 | | * |
| | 98 | * |
| 79 | 99 | * For geographic coordinate systems, the preliminary "projection" result will |
| 80 | 100 | * be in degrees, so there is no reason to convert anything and this factor |
| 81 | 101 | * will by 1 by default. |