📄 defaultellipsoidalcs.html
字号:
<PRE>public <B>DefaultEllipsoidalCS</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> properties, CoordinateSystemAxis axis0, CoordinateSystemAxis axis1)</PRE><DL><DD>Constructs a two-dimensional coordinate system from a set of properties. The properties map is given unchanged to the <A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html#AbstractCS(java.util.Map, org.opengis.referencing.cs.CoordinateSystemAxis[])">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>axis0</CODE> - The first axis.<DD><CODE>axis1</CODE> - The second axis.</DL><HR><A NAME="DefaultEllipsoidalCS(java.util.Map, org.opengis.referencing.cs.CoordinateSystemAxis, org.opengis.referencing.cs.CoordinateSystemAxis, org.opengis.referencing.cs.CoordinateSystemAxis)"><!-- --></A><H3>DefaultEllipsoidalCS</H3><PRE>public <B>DefaultEllipsoidalCS</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> properties, CoordinateSystemAxis axis0, CoordinateSystemAxis axis1, CoordinateSystemAxis axis2)</PRE><DL><DD>Constructs a three-dimensional coordinate system from a set of properties. The properties map is given unchanged to the <A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html#AbstractCS(java.util.Map, org.opengis.referencing.cs.CoordinateSystemAxis[])">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>axis0</CODE> - The first axis.<DD><CODE>axis1</CODE> - The second axis.<DD><CODE>axis2</CODE> - The third axis.</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="isCompatibleDirection(org.opengis.referencing.cs.AxisDirection)"><!-- --></A><H3>isCompatibleDirection</H3><PRE>protected boolean <B>isCompatibleDirection</B>(AxisDirection direction)</PRE><DL><DD>Returns if the specified axis direction is allowed for this coordinate system. The default implementation accepts only the following directions: <CODE>NORTH</CODE>, <CODE>SOUTH</CODE>, <CODE>EAST</CODE>, <CODE>WEST</CODE>, <CODE>UP</CODE> and <CODE>DOWN</CODE>.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html#isCompatibleDirection(org.opengis.referencing.cs.AxisDirection)">isCompatibleDirection</A></CODE> in class <CODE><A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html" title="class in org.geotools.referencing.cs">AbstractCS</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isCompatibleUnit(org.opengis.referencing.cs.AxisDirection, javax.units.Unit)"><!-- --></A><H3>isCompatibleUnit</H3><PRE>protected boolean <B>isCompatibleUnit</B>(AxisDirection direction, <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> unit)</PRE><DL><DD>Returns if the specified unit is compatible with <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/NonSI.html#DEGREE_ANGLE" title="class or interface in javax.units">decimal degrees</A> (or <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/SI.html#METER" title="class or interface in javax.units">meters</A> in the special case of height). This method is invoked at construction time for checking units compatibility.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html#isCompatibleUnit(org.opengis.referencing.cs.AxisDirection, javax.units.Unit)">isCompatibleUnit</A></CODE> in class <CODE><A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html" title="class in org.geotools.referencing.cs">AbstractCS</A></CODE></DL></DD><DD><DL><DT><B>Since:</B></DT> <DD>2.2</DD></DL></DD></DL><HR><A NAME="getLongitude(double[])"><!-- --></A><H3>getLongitude</H3><PRE>public double <B>getLongitude</B>(double[] coordinates) throws MismatchedDimensionException</PRE><DL><DD>Returns the longitude found in the specified coordinate point, always in <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/NonSI.html#DEGREE_ANGLE" title="class or interface in javax.units">decimal degrees</A>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>coordinates</CODE> - The coordinate point expressed in this coordinate system.<DT><B>Returns:</B><DD>The longitude in the specified array, in <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/NonSI.html#DEGREE_ANGLE" title="class or interface in javax.units">decimal degrees</A>.<DT><B>Throws:</B><DD><CODE>MismatchedDimensionException</CODE> - is the coordinate point doesn't have the expected dimension.</DL></DD></DL><HR><A NAME="getLatitude(double[])"><!-- --></A><H3>getLatitude</H3><PRE>public double <B>getLatitude</B>(double[] coordinates) throws MismatchedDimensionException</PRE><DL><DD>Returns the latitude found in the specified coordinate point, always in <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/NonSI.html#DEGREE_ANGLE" title="class or interface in javax.units">decimal degrees</A>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>coordinates</CODE> - The coordinate point expressed in this coordinate system.<DT><B>Returns:</B><DD>The latitude in the specified array, in <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/NonSI.html#DEGREE_ANGLE" title="class or interface in javax.units">decimal degrees</A>.<DT><B>Throws:</B><DD><CODE>MismatchedDimensionException</CODE> - is the coordinate point doesn't have the expected dimension.</DL></DD></DL><HR><A NAME="getHeight(double[])"><!-- --></A><H3>getHeight</H3><PRE>public double <B>getHeight</B>(double[] coordinates) throws MismatchedDimensionException</PRE><DL><DD>Returns the height found in the specified coordinate point, always in <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/SI.html#METER" title="class or interface in javax.units">meters</A>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>coordinates</CODE> - The coordinate point expressed in this coordinate system.<DT><B>Returns:</B><DD>The height in the specified array, in <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/SI.html#METER" title="class or interface in javax.units">meters</A>.<DT><B>Throws:</B><DD><CODE>MismatchedDimensionException</CODE> - is the coordinate point doesn't have the expected dimension.</DL></DD></DL><HR><A NAME="usingUnit(javax.units.Unit)"><!-- --></A><H3>usingUnit</H3><PRE>public <A HREF="../../../../org/geotools/referencing/cs/DefaultEllipsoidalCS.html" title="class in org.geotools.referencing.cs">DefaultEllipsoidalCS</A> <B>usingUnit</B>(<A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> unit) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Returns a new coordinate system with the same properties than the current one except for axis units.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>unit</CODE> - The unit for the new axis.<DT><B>Returns:</B><DD>A coordinate system with axis using the specified units.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - If the specified unit is incompatible with the expected one.<DT><B>Since:</B></DT> <DD>2.2</DD></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/DefaultEllipsoidalCS.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/cs/DefaultCylindricalCS.html" title="class in org.geotools.referencing.cs"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/referencing/cs/DefaultLinearCS.html" title="class in org.geotools.referencing.cs"><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="DefaultEllipsoidalCS.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 + -