📄 defaultprimemeridian.html
字号:
unchanged to the <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#AbstractIdentifiedObject(java.util.Map)">super-class constructor</A>.<P><DT><B>Parameters:</B><DD><CODE>properties</CODE> - Set of properties. Should contains at least <code>"name"</code>.<DD><CODE>greenwichLongitude</CODE> - The longitude value relative to the Greenwich Meridian.<DD><CODE>angularUnit</CODE> - The angular unit of the longitude.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getGreenwichLongitude()"><!-- --></A><H3>getGreenwichLongitude</H3><PRE>public double <B>getGreenwichLongitude</B>()</PRE><DL><DD>Longitude of the prime meridian measured from the Greenwich meridian, positive eastward. The initial value is zero, and that value shall be used when the <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#getName()">meridian name</A> value is "Greenwich".<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getGreenwichLongitude</CODE> in interface <CODE>PrimeMeridian</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The prime meridian Greenwich longitude, in <A HREF="../../../../org/geotools/referencing/datum/DefaultPrimeMeridian.html#getAngularUnit()">angular unit</A>.</DL></DD></DL><HR><A NAME="getGreenwichLongitude(javax.units.Unit)"><!-- --></A><H3>getGreenwichLongitude</H3><PRE>public double <B>getGreenwichLongitude</B>(<A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> targetUnit)</PRE><DL><DD>Returns the longitude value relative to the Greenwich Meridian, expressed in the specified units. This convenience method makes it easier to obtain longitude in decimal degrees (), regardless of the underlying angular units of this prime meridian.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>targetUnit</CODE> - The unit in which to express longitude.</DL></DD></DL><HR><A NAME="getAngularUnit()"><!-- --></A><H3>getAngularUnit</H3><PRE>public <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> <B>getAngularUnit</B>()</PRE><DL><DD>Returns the angular unit of the <A HREF="../../../../org/geotools/referencing/datum/DefaultPrimeMeridian.html#getGreenwichLongitude()">Greenwich longitude</A>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getAngularUnit</CODE> in interface <CODE>PrimeMeridian</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="equals(org.geotools.referencing.AbstractIdentifiedObject, boolean)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html" title="class in org.geotools.referencing">AbstractIdentifiedObject</A> object, boolean compareMetadata)</PRE><DL><DD>Compare this prime meridian with the specified object for equality.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#equals(org.geotools.referencing.AbstractIdentifiedObject, boolean)">equals</A></CODE> in class <CODE><A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html" title="class in org.geotools.referencing">AbstractIdentifiedObject</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>object</CODE> - The object to compare to .<DD><CODE>compareMetadata</CODE> - for performing a strict comparaison, or for comparing only properties relevant to transformations.<DT><B>Returns:</B><DD> if both objects are equal.</DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Returns a hash value for this prime meridian. <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#getName()">Name</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#getRemarks()">remarks</A> and the like are not taken in account. In other words, two prime meridians will return the same hash value if they are equal in the sense of <code><A HREF="../../../../org/geotools/referencing/datum/DefaultPrimeMeridian.html#equals(org.geotools.referencing.AbstractIdentifiedObject, boolean)"><CODE>equals</CODE></A>(AbstractIdentifiedObject, <strong>false</strong>)</code>.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html" title="class in org.geotools.referencing">AbstractIdentifiedObject</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The hash code value. This value doesn't need to be the same in past or future versions of this class.</DL></DD></DL><HR><A NAME="formatWKT(org.geotools.referencing.wkt.Formatter)"><!-- --></A><H3>formatWKT</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>formatWKT</B>(<A HREF="../../../../org/geotools/referencing/wkt/Formatter.html" title="class in org.geotools.referencing.wkt">Formatter</A> formatter)</PRE><DL><DD>Format the inner part of a <A HREF="http://geoapi.sourceforge.net/snapshot/javadoc/org/opengis/referencing/doc-files/WKT.html"><cite>Well Known Text</cite> (WKT)</A> element.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/referencing/wkt/Formattable.html#formatWKT(org.geotools.referencing.wkt.Formatter)">formatWKT</A></CODE> in class <CODE><A HREF="../../../../org/geotools/referencing/wkt/Formattable.html" title="class in org.geotools.referencing.wkt">Formattable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>formatter</CODE> - The formatter to use.<DT><B>Returns:</B><DD>The WKT element name, which is "PRIMEM"<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/referencing/wkt/Formattable.html#toWKT()"><CODE>Formattable.toWKT()</CODE></A>, <A HREF="../../../../org/geotools/referencing/wkt/Formattable.html#toString()"><CODE>Formattable.toString()</CODE></A></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DefaultPrimeMeridian.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/geotools/referencing/datum/DefaultImageDatum.html" title="class in org.geotools.referencing.datum"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/referencing/datum/DefaultTemporalDatum.html" title="class in org.geotools.referencing.datum"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="DefaultPrimeMeridian.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -