⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 generalgridgeometry.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#equals(java.lang.Object)">equals</A></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>&nbsp;object)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compares the specified object with this grid geometry for equality.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;CoordinateReferenceSystem</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getCoordinateReferenceSystem()">getCoordinateReferenceSystem</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the "real world" coordinate reference system.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getDimension()">getDimension</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of dimensions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;Envelope</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getEnvelope()">getEnvelope</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the bounding box of "real world" coordinates for this grid geometry. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../org/geotools/geometry/GeneralEnvelope.html" title="class in org.geotools.geometry">GeneralEnvelope</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getEnvelope(org.opengis.coverage.grid.GridRange, org.opengis.referencing.operation.MathTransform, org.opengis.referencing.crs.CoordinateReferenceSystem, boolean)">getEnvelope</A></B>(GridRange&nbsp;gridRange,            MathTransform&nbsp;gridToCRS,            CoordinateReferenceSystem&nbsp;crs,            boolean&nbsp;halfPix)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <CODE>GeneralEnvelope(GridRange, PixelInCell, MathTransform,             CoordinateReferenceSystem)</CODE> instead.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;GridRange</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getGridRange()">getGridRange</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the valid coordinate range of a grid coverage. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;MathTransform</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getGridToCoordinateSystem()">getGridToCoordinateSystem</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Renamed as <A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getGridToCRS()"><CODE>getGridToCRS()</CODE></A>.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;MathTransform</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getGridToCRS()">getGridToCRS</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the transform from grid coordinates to real world earth coordinates. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;MathTransform</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getGridToCRS(org.opengis.referencing.datum.PixelInCell)">getGridToCRS</A></B>(PixelInCell&nbsp;halfPixel)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the transform from grid coordinates to real world earth coordinates. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;MathTransform</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getTransform(org.opengis.coverage.grid.GridRange, org.opengis.spatialschema.geometry.Envelope, boolean)">getTransform</A></B>(GridRange&nbsp;gridRange,             Envelope&nbsp;userRange,             boolean&nbsp;halfPix)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Replaced by <A HREF="../../../../org/geotools/referencing/operation/builder/GridToEnvelopeMapper.html" title="class in org.geotools.referencing.operation.builder"><CODE>GridToEnvelopeMapper</CODE></A>.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;MathTransform</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getTransform(org.opengis.coverage.grid.GridRange, org.opengis.spatialschema.geometry.Envelope, boolean[], boolean, boolean)">getTransform</A></B>(GridRange&nbsp;gridRange,             Envelope&nbsp;userRange,             boolean[]&nbsp;reverse,             boolean&nbsp;swapXY,             boolean&nbsp;halfPix)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Replaced by <A HREF="../../../../org/geotools/referencing/operation/builder/GridToEnvelopeMapper.html" title="class in org.geotools.referencing.operation.builder"><CODE>GridToEnvelopeMapper</CODE></A>.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#hashCode()">hashCode</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a hash value for this grid geometry. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#isDefined(int)">isDefined</A></B>(int&nbsp;bitmask)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns  if all the parameters specified by the argument are set.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#reverse(org.opengis.referencing.cs.CoordinateSystem)">reverse</A></B>(CoordinateSystem&nbsp;cs)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html#swapAndScaleAxis(org.opengis.referencing.cs.CoordinateSystem, org.opengis.referencing.cs.CoordinateSystem)"><CODE>AbstractCS.swapAndScaleAxis(org.opengis.referencing.cs.CoordinateSystem, org.opengis.referencing.cs.CoordinateSystem)</CODE></A> instead.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#swapXY(org.opengis.referencing.cs.CoordinateSystem)">swapXY</A></B>(CoordinateSystem&nbsp;cs)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html#swapAndScaleAxis(org.opengis.referencing.cs.CoordinateSystem, org.opengis.referencing.cs.CoordinateSystem)"><CODE>AbstractCS.swapAndScaleAxis(org.opengis.referencing.cs.CoordinateSystem, org.opengis.referencing.cs.CoordinateSystem)</CODE></A> instead             or <CODE>org.geotools.referencing.operation.matrix.XMatrixTransform#getSwapXY</CODE>             instead.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string repr閟entation of this grid geometry. </TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="CRS"><!-- --></A><H3>CRS</H3><PRE>public static final int <B>CRS</B></PRE><DL><DD>A bitmask to specify the validity of the <A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getCoordinateReferenceSystem()">coordinate reference system</A>. This is given as an argument to the <A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#isDefined(int)"><CODE>isDefined(int)</CODE></A> method.<P><DL><DT><B>Since:</B></DT>  <DD>2.2</DD><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.geotools.coverage.grid.GeneralGridGeometry.CRS">Constant Field Values</A></DL></DL><HR><A NAME="ENVELOPE"><!-- --></A><H3>ENVELOPE</H3><PRE>public static final int <B>ENVELOPE</B></PRE><DL><DD>A bitmask to specify the validity of the <A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getEnvelope()">envelope</A>. This is given as an argument to the <A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#isDefined(int)"><CODE>isDefined(int)</CODE></A> method.<P><DL><DT><B>Since:</B></DT>  <DD>2.2</DD><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.geotools.coverage.grid.GeneralGridGeometry.ENVELOPE">Constant Field Values</A></DL></DL><HR><A NAME="GRID_RANGE"><!-- --></A><H3>GRID_RANGE</H3><PRE>public static final int <B>GRID_RANGE</B></PRE><DL><DD>A bitmask to specify the validity of the <A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getGridRange()">grid range</A>. This is given as an argument to the <A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#isDefined(int)"><CODE>isDefined(int)</CODE></A> method.<P><DL><DT><B>Since:</B></DT>  <DD>2.2</DD><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.geotools.coverage.grid.GeneralGridGeometry.GRID_RANGE">Constant Field Values</A></DL></DL><HR><A NAME="GRID_TO_CRS"><!-- --></A><H3>GRID_TO_CRS</H3><PRE>public static final int <B>GRID_TO_CRS</B></PRE><DL><DD>A bitmask to specify the validity of the <A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getGridToCoordinateSystem()">grid to CRS</A> transform. This is given as an argument to the <A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#isDefined(int)"><CODE>isDefined(int)</CODE></A> method.<P><DL><DT><B>Since:</B></DT>  <DD>2.2</DD><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.geotools.coverage.grid.GeneralGridGeometry.GRID_TO_CRS">Constant Field Values</A></DL></DL><HR><A NAME="gridRange"><!-- --></A><H3>gridRange</H3><PRE>protected final GridRange <B>gridRange</B></PRE><DL><DD>The valid coordinate range of a grid coverage, or  if none. The lowest valid grid coordinate is zero for <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/BufferedImage.html" title="class or interface in java.awt.image"><CODE>BufferedImage</CODE></A>, but may be non-zero for arbitrary <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RenderedImage.html" title="class or interface in java.awt.image"><CODE>RenderedImage</CODE></A>. A grid with 512 cells can have a minimum coordinate of 0 and maximum of 512, with 511 as the highest valid index.<P><DL><DT><B>See Also:</B><DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RenderedImage.html#getMinX()" title="class or interface in java.awt.image"><CODE>RenderedImage.getMinX()</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RenderedImage.html#getMinY()" title="class or interface in java.awt.image"><CODE>RenderedImage.getMinY()</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RenderedImage.html#getWidth()" title="class or interface in java.awt.image"><CODE>RenderedImage.getWidth()</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RenderedImage.html#getHeight()" title="class or interface in java.awt.image"><CODE>RenderedImage.getHeight()</CODE></A></DL></DL><HR><A NAME="gridToCRS"><!-- --></A><H3>gridToCRS</H3><PRE>protected final MathTransform <B>gridToCRS</B></PRE><DL><DD>The math transform (usually an affine transform), or  if none. This math transform maps pixel center to "real world" coordinate using the following line: <pre>gridToCRS.transform(pixels, point);</pre><P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== -->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -