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

📄 gridgeometry2d.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<P><DT><B>Parameters:</B><DD><CODE>gridRange</CODE> - The valid coordinate range of a grid coverage.                  Increasing <var>x</var> values goes right and                  increasing <var>y</var> values goes <strong>down</strong>.<DD><CODE>userRange</CODE> - The corresponding coordinate range in user coordinate.                  Increasing <var>x</var> values goes right and                  increasing <var>y</var> values goes <strong>up</strong>.                  This rectangle must contains entirely all pixels, i.e.                  the rectangle's upper left corner must coincide with                  the upper left corner of the first pixel and the rectangle's                  lower right corner must coincide with the lower right corner                  of the last pixel.</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="getCoordinateReferenceSystem2D()"><!-- --></A><H3>getCoordinateReferenceSystem2D</H3><PRE>public CoordinateReferenceSystem <B>getCoordinateReferenceSystem2D</B>()                                                                                     throws <A HREF="../../../../org/geotools/coverage/grid/InvalidGridGeometryException.html" title="class in org.geotools.coverage.grid">InvalidGridGeometryException</A></PRE><DL><DD>Returns the two-dimensional part of this grid geometry CRS. This is usually (but not always) identical to the <A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getCoordinateReferenceSystem()">full CRS</A>.<P><DD><DL><DT><B>Returns:</B><DD>The coordinate reference system (never ).<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/coverage/grid/InvalidGridGeometryException.html" title="class in org.geotools.coverage.grid">InvalidGridGeometryException</A></CODE> - if this grid geometry has no CRS (i.e.         <code><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#isDefined(int)">isDefined</A>(<A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#CRS">CRS</A>)</code>         returned ).<DT><B>Since:</B></DT>  <DD>2.2</DD><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getCoordinateReferenceSystem()"><CODE>GeneralGridGeometry.getCoordinateReferenceSystem()</CODE></A></DL></DD></DL><HR><A NAME="getEnvelope2D()"><!-- --></A><H3>getEnvelope2D</H3><PRE>public <A HREF="../../../../org/geotools/geometry/Envelope2D.html" title="class in org.geotools.geometry">Envelope2D</A> <B>getEnvelope2D</B>()                         throws <A HREF="../../../../org/geotools/coverage/grid/InvalidGridGeometryException.html" title="class in org.geotools.coverage.grid">InvalidGridGeometryException</A></PRE><DL><DD>Returns the two-dimensional bounding box for the coverage domain in coordinate reference system coordinates. If the coverage envelope has more than two dimensions, only the dimensions used in the underlying rendered image are returned.<P><DD><DL><DT><B>Returns:</B><DD>The bounding box in "real world" coordinates (never ).<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/coverage/grid/InvalidGridGeometryException.html" title="class in org.geotools.coverage.grid">InvalidGridGeometryException</A></CODE> - if this grid geometry has no envelope (i.e.         <code><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#isDefined(int)">isDefined</A>(<A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#ENVELOPE">ENVELOPE</A>)</code>         returned ).<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getEnvelope()"><CODE>GeneralGridGeometry.getEnvelope()</CODE></A></DL></DD></DL><HR><A NAME="getGridRange2D()"><!-- --></A><H3>getGridRange2D</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>getGridRange2D</B>()                         throws <A HREF="../../../../org/geotools/coverage/grid/InvalidGridGeometryException.html" title="class in org.geotools.coverage.grid">InvalidGridGeometryException</A></PRE><DL><DD>Returns the two-dimensional part of the <A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getGridRange()">grid range</A> as a rectangle.<P><DD><DL><DT><B>Returns:</B><DD>The grid range (never ).<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/coverage/grid/InvalidGridGeometryException.html" title="class in org.geotools.coverage.grid">InvalidGridGeometryException</A></CODE> - if this grid geometry has no grid range (i.e.         <code><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#isDefined(int)">isDefined</A>(<A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#GRID_RANGE">GRID_RANGE</A>)</code>         returned ).<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getGridRange()"><CODE>GeneralGridGeometry.getGridRange()</CODE></A>, <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></DD></DL><HR><A NAME="getGridToCoordinateSystem2D()"><!-- --></A><H3>getGridToCoordinateSystem2D</H3><PRE>public MathTransform2D <B>getGridToCoordinateSystem2D</B>()                                                                              throws <A HREF="../../../../org/geotools/coverage/grid/InvalidGridGeometryException.html" title="class in org.geotools.coverage.grid">InvalidGridGeometryException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Renamed as <A HREF="../../../../org/geotools/coverage/grid/GridGeometry2D.html#getGridToCRS2D()"><CODE>getGridToCRS2D()</CODE></A>.</I><P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/coverage/grid/InvalidGridGeometryException.html" title="class in org.geotools.coverage.grid">InvalidGridGeometryException</A></CODE></DL></DD></DL><HR><A NAME="getGridToCRS2D()"><!-- --></A><H3>getGridToCRS2D</H3><PRE>public MathTransform2D <B>getGridToCRS2D</B>()                                                                 throws <A HREF="../../../../org/geotools/coverage/grid/InvalidGridGeometryException.html" title="class in org.geotools.coverage.grid">InvalidGridGeometryException</A></PRE><DL><DD>Returns a math transform for the two dimensional part. This is a convenience method for working on horizontal data while ignoring vertical or temporal dimensions.<P><DD><DL><DT><B>Returns:</B><DD>The transform which allows for the transformations from grid coordinates         to real world earth coordinates, operating only on two dimensions.         The returned transform is often an instance of <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/AffineTransform.html" title="class or interface in java.awt.geom"><CODE>AffineTransform</CODE></A>, which         make it convenient for interoperability with Java2D.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/coverage/grid/InvalidGridGeometryException.html" title="class in org.geotools.coverage.grid">InvalidGridGeometryException</A></CODE> - if a two-dimensional transform is not available         for this grid geometry.<DT><B>Since:</B></DT>  <DD>2.3</DD><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/coverage/grid/GridGeometry2D.html#getGridToCRS(org.opengis.metadata.spatial.PixelOrientation)"><CODE>getGridToCRS(org.opengis.metadata.spatial.PixelOrientation)</CODE></A></DL></DD></DL><HR><A NAME="getGridToCRS2D(org.opengis.metadata.spatial.PixelOrientation)"><!-- --></A><H3>getGridToCRS2D</H3><PRE>public MathTransform2D <B>getGridToCRS2D</B>(PixelOrientation&nbsp;orientation)</PRE><DL><DD>Returns a math transform for the two dimensional part. This method is similar to <A HREF="../../../../org/geotools/coverage/grid/GridGeometry2D.html#getGridToCRS2D()"><CODE>getGridToCRS2D()</CODE></A> except that the transform may maps a pixel corner instead of pixel center.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>orientation</CODE> - The pixel part to map. The default value is         <CODE>CENTER</CODE>.<DT><B>Returns:</B><DD>The transform which allows for the transformations from grid coordinates         to real world earth coordinates.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/coverage/grid/InvalidGridGeometryException.html" title="class in org.geotools.coverage.grid">InvalidGridGeometryException</A></CODE> - if a two-dimensional transform is not available         for this grid geometry.<DT><B>Since:</B></DT>  <DD>2.3</DD></DL></DD></DL><HR><A NAME="getGridToCRS(org.opengis.metadata.spatial.PixelOrientation)"><!-- --></A><H3>getGridToCRS</H3><PRE>public MathTransform <B>getGridToCRS</B>(PixelOrientation&nbsp;orientation)</PRE><DL><DD>Returns a math transform mapping the specified pixel part.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>orientation</CODE> - The pixel part to map. The default value is         <CODE>CENTER</CODE>.<DT><B>Returns:</B><DD>The transform which allows for the transformations from grid coordinates         to real world earth coordinates.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/coverage/grid/InvalidGridGeometryException.html" title="class in org.geotools.coverage.grid">InvalidGridGeometryException</A></CODE> - if a transform is not available         for this grid geometry.<DT><B>Since:</B></DT>  <DD>2.3</DD></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>&nbsp;object)</PRE><DL><DD>Compares the specified object with this grid geometry for equality.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html" title="class in org.geotools.coverage.grid">GeneralGridGeometry</A></CODE></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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/GridGeometry2D.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../org/geotools/coverage/grid/GridCoverageFactory.html" title="class in org.geotools.coverage.grid"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/geotools/coverage/grid/Interpolator2D.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>  &nbsp;&nbsp;<A HREF="GridGeometry2D.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 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 + -