Statistics
| Revision:

root / org.gvsig.proj / branches / refactor2018 / org.gvsig.proj / org.gvsig.proj.lib / org.gvsig.proj.lib.api / src / main / java / org / gvsig / proj / Ellipsoid.java @ 794

History | View | Annotate | Download (2.35 KB)

1
/* gvSIG. Desktop Geographic Information System.
2
 *
3
 * Copyright ? 2007-2012 gvSIG Association
4
 *
5
 * This program is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU General Public License
7
 * as published by the Free Software Foundation; either version 2
8
 * of the License, or (at your option) any later version.
9
 *
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
 * MA  02110-1301, USA.
19
 *
20
 * For any additional information, do not hesitate to contact us
21
 * at info AT gvsig.com, or visit our website www.gvsig.com.
22
 */
23
package org.gvsig.proj;
24

    
25

    
26
/**
27
 * In geodesy, a reference ellipsoid is a mathematically-defined surface that
28
 * approximates the geoid, the truer figure of the Earth, or other planetary
29
 * body. Because of their relative simplicity, reference ellipsoids are used as
30
 * a preferred surface on which geodetic network computations are performed and
31
 * point coordinates such as latitude, longitude, and elevation are defined.
32
 * 
33
 * @see http://en.wikipedia.org/wiki/Reference_ellipsoid
34
 * 
35
 * @author <a href="http://www.disid.com">DiSiD Technologies S.L.</a>
36
 * @version $Rev$
37
 * @since 0.1.0
38
 */
39
public interface Ellipsoid {
40

    
41
    /**
42
     * Returns the Ellipsoid short name, like the one used in ProJ4 definitions.
43
     * 
44
     * @return the Ellipsoid short name.
45
     */
46
    public String getShortName();
47

    
48
    /**
49
     * Return the name of the Ellipsoid.
50
     * 
51
     * @return the name of the Ellipsoid
52
     */
53
    public String getName();
54

    
55
    /**
56
     * Returns the the equatorial radius or semi-major axis value.
57
     * 
58
     * @return the equatorial radius or semi-major axis.
59
     */
60
    public double getSemiMajorAxis();
61

    
62
    /**
63
     * Returns the polar radius or semi-minor axis value.
64
     * 
65
     * @return the polar radius or semi-minor axis.
66
     */
67
    public double getSemiMinorAxis();
68

    
69
    /**
70
     * Returns the reciprocal flattening.
71
     * 
72
     * @return the reciprocal flattening.
73
     */
74
    public double getReciprocalFlattening();
75

    
76
}