Revision 794 org.gvsig.proj/branches/refactor2018/org.gvsig.proj/org.gvsig.proj.catalog/org.gvsig.proj.catalog.api/src/main/java/org/gvsig/proj/catalogue/datum/PrimeMeridian.java

View differences:

PrimeMeridian.java
64 64
/**
65 65
 * A prime meridian defines the origin from which longitude values are determined.
66 66
 * Most geodetic datums use Greenwich as their prime meridian.
67
 *
68
 * <p>Constraints:</p>
69
 * <ul>
70
 *   <li>If the prime meridian {@linkplain #getName() name} is "Greenwich" then the value of
71
 *       {@linkplain #getGreenwichLongitude() Greenwich longitude} shall be 0 degrees.</li>
72
 *   <li>Conversely if the Greenwich longitude value is zero, then the prime meridian name
73
 *       shall be "Greenwich".</li>
74
 * </ul>
75 67
 * 
76 68
 * Note: gvSIG derived these interfaces from GeoAPI in order to have a simpler API and also to
77 69
 * avoid namespace collisions (e.g. GeoAPI 3 vs GeoTools interfaces). There is no plans
......
79 71
 * 
80 72
 * @author  gvSIG Team
81 73
 * @author  Martin Desruisseaux (IRD)
82
 * @version 3.0.1
83
 * @since   1.0
84
 *
85
 * @see DatumAuthorityFactory#createPrimeMeridian(String)
86
 * @see DatumFactory#createPrimeMeridian(Map, double, Unit)
87 74
 */
88 75
public interface PrimeMeridian {
89 76
    /**
77
     * A common name for this primer meridian
78
     * 
79
     * @return the name, or {@code null} if none.
80
     */
81
	String getName();
82
	
83
    /**
90 84
     * Longitude of the prime meridian measured from the Greenwich meridian, positive eastward.
91 85
     * The {@code greenwichLongitude} default value is zero, and that value shall be used
92 86
     * when the {@linkplain #getName() meridian name} value is "Greenwich".
......
98 92

  
99 93
    /**
100 94
     * Returns the angular unit of the {@linkplain #getGreenwichLongitude() Greenwich longitude}.
101
     *
102
     * @departure historic
103
     *   This attribute is inherited from an older OGC specification.
104
     *   In ISO 19111, <code>greenwichLongitude</code> is a property of type <code>Angle</code>
105
     *   rather than <code>double</code>, and the unit of measure is part of the <code>Angle</code> value.
106
     *
95
     * 
107 96
     * @return the angular unit of Greenwich longitude.
108 97
     */
109 98
    Unit<Angle> getAngularUnit();

Also available in: Unified diff