Changeset 10699 in josm


Ignore:
Timestamp:
2016-08-01T23:01:45+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #13255 - Document AbstractProjection (patch by michael2402) - gsoc-core

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/AbstractProjection.java

    r10001 r10699  
    3737    private volatile ProjectionBounds projectionBoundsBox;
    3838
     39    /**
     40     * Get the base ellipsoid that this projection uses.
     41     * @return The {@link Ellipsoid}
     42     */
    3943    public final Ellipsoid getEllipsoid() {
    4044        return ellps;
    4145    }
    4246
     47    /**
     48     * Gets the datum this projection is based on.
     49     * @return The datum
     50     */
    4351    public final Datum getDatum() {
    4452        return datum;
     
    5361    }
    5462
     63    /**
     64     * Gets an east offset that gets applied when converting the coordinate
     65     * @return The offset to apply in meter
     66     */
    5567    public final double getFalseEasting() {
    5668        return x0;
    5769    }
    5870
     71    /**
     72     * Gets an north offset that gets applied when converting the coordinate
     73     * @return The offset to apply in meter
     74     */
    5975    public final double getFalseNorthing() {
    6076        return y0;
    6177    }
    6278
     79    /**
     80     * Gets the meridian that this projection is centered on.
     81     * @return The longitude of the meridian.
     82     */
    6383    public final double getCentralMeridian() {
    6484        return lon0;
     
    7696     * be in meters as well. This factor is used to convert to the intended units
    7797     * of east/north coordinates (e.g. feet in the US).
    78      * 
     98     *
    7999     * For geographic coordinate systems, the preliminary "projection" result will
    80100     * be in degrees, so there is no reason to convert anything and this factor
Note: See TracChangeset for help on using the changeset viewer.