📄 generalgridrange.html
字号:
<PRE>public GridCoordinates <B>getUpper</B>()</PRE><DL><DD>Returns the valid maximum exclusive grid coordinate. The sequence contains a maximum value for each dimension of the grid coverage.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getUpper</CODE> in interface <CODE>GridRange</CODE></DL></DD><DD><DL><DT><B>Since:</B></DT> <DD>2.4</DD></DL></DD></DL><HR><A NAME="getUpper(int)"><!-- --></A><H3>getUpper</H3><PRE>public int <B>getUpper</B>(int dimension)</PRE><DL><DD>Returns the valid maximum exclusive grid coordinate along the specified dimension.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getUpper</CODE> in interface <CODE>GridRange</CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/coverage/grid/GeneralGridRange.html#getUppers()"><CODE>getUppers()</CODE></A></DL></DD></DL><HR><A NAME="getLength(int)"><!-- --></A><H3>getLength</H3><PRE>public int <B>getLength</B>(int dimension)</PRE><DL><DD>Returns the number of integer grid coordinates along the specified dimension. This is equals to .<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getLength</CODE> in interface <CODE>GridRange</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getLowers()"><!-- --></A><H3>getLowers</H3><PRE>public int[] <B>getLowers</B>()</PRE><DL><DD>Returns the valid minimum inclusive grid coordinates along all dimensions.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getLowers</CODE> in interface <CODE>GridRange</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getUppers()"><!-- --></A><H3>getUppers</H3><PRE>public int[] <B>getUppers</B>()</PRE><DL><DD>Returns the valid maximum exclusive grid coordinates along all dimensions.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getUppers</CODE> in interface <CODE>GridRange</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getSubGridRange(int, int)"><!-- --></A><H3>getSubGridRange</H3><PRE>public <A HREF="../../../../org/geotools/coverage/grid/GeneralGridRange.html" title="class in org.geotools.coverage.grid">GeneralGridRange</A> <B>getSubGridRange</B>(int lower, int upper)</PRE><DL><DD>Returns a new grid range that encompass only some dimensions of this grid range. This method copy this grid range's index into a new grid range, beginning at dimension and extending to dimension . Thus the dimension of the subgrid range is .<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>lower</CODE> - The first dimension to copy, inclusive.<DD><CODE>upper</CODE> - The last dimension to copy, exclusive.<DT><B>Returns:</B><DD>The subgrid range.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IndexOutOfBoundsException.html" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if an index is out of bounds.</DL></DD></DL><HR><A NAME="toRectangle()"><!-- --></A><H3>toRectangle</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Rectangle.html" title="class or interface in java.awt">Rectangle</A> <B>toRectangle</B>() throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></PRE><DL><DD>Returns a <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Rectangle.html" title="class or interface in java.awt"><CODE>Rectangle</CODE></A> with the same bounds as this . This is a convenience method for interoperability with Java2D.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if this grid range is not two-dimensional.</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 grid range. This value need not remain consistent between different implementations of the same class.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> object)</PRE><DL><DD>Compares the specified object with this grid range for equality.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <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>toString</B>()</PRE><DL><DD>Returns a string repr閟entation of this grid range. The returned string is implementation dependent. It is usually provided for debugging purposes.<P><DD><DL></DL></DD><DD><DL></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/GeneralGridRange.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/coverage/grid/GeneralGridGeometry.html" title="class in org.geotools.coverage.grid"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/coverage/grid/GridCoverage2D.html" title="class in org.geotools.coverage.grid"><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="GeneralGridRange.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <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 + -