gridtoenvelopemapper.html

来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 798 行 · 第 1/3 页

HTML
798
字号
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whatever the grid range maps pixel center or pixel corner.</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/referencing/operation/builder/GridToEnvelopeMapper.html#getReverseAxis()">getReverseAxis</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns which (if any) axis in <cite>user</cite> space (not grid space) should have their direction reversed. </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/referencing/operation/builder/GridToEnvelopeMapper.html#getSwapXY()">getSwapXY</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns  if the two first axis should be interchanged. </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/referencing/operation/builder/GridToEnvelopeMapper.html#isAutomatic(int)">isAutomatic</A></B>(int&nbsp;mask)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns  if all properties designed by the specified bit mask will be computed automatically.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/builder/GridToEnvelopeMapper.html#reverseAxis(int)">reverseAxis</A></B>(int&nbsp;dimension)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reverses a single axis in user space. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/builder/GridToEnvelopeMapper.html#setAutomatic(int)">setAutomatic</A></B>(int&nbsp;mask)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set all properties designed by the specified bit mask as automatic. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/builder/GridToEnvelopeMapper.html#setEnvelope(org.opengis.spatialschema.geometry.Envelope)">setEnvelope</A></B>(Envelope&nbsp;envelope)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the envelope. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/builder/GridToEnvelopeMapper.html#setGridRange(org.opengis.coverage.grid.GridRange)">setGridRange</A></B>(GridRange&nbsp;gridRange)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the grid range.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/builder/GridToEnvelopeMapper.html#setGridType(org.opengis.referencing.datum.PixelInCell)">setGridType</A></B>(PixelInCell&nbsp;gridType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set whatever the grid range maps pixel center or pixel corner.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/builder/GridToEnvelopeMapper.html#setReverseAxis(boolean[])">setReverseAxis</A></B>(boolean[]&nbsp;reverse)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set which (if any) axis in <cite>user</cite> space (not grid space) should have their direction reversed. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/builder/GridToEnvelopeMapper.html#setSwapXY(boolean)">setSwapXY</A></B>(boolean&nbsp;swapXY)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tells if the two first axis should be interchanged. </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/referencing/operation/builder/GridToEnvelopeMapper.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>Avoid this method as much as possible. Experience shows that this method is             often used in a context where it should not, for example in order to select             the coefficients to read in an affine transform.</I></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#equals(java.lang.Object)" title="class or interface in java.lang">equals</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#hashCode()" title="class or interface in java.lang">hashCode</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#toString()" title="class or interface in java.lang">toString</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="SWAP_XY"><!-- --></A><H3>SWAP_XY</H3><PRE>public static final int <B>SWAP_XY</B></PRE><DL><DD>A bit mask for the <A HREF="../../../../../org/geotools/referencing/operation/builder/GridToEnvelopeMapper.html#setSwapXY(boolean)"><CODE>swapXY</CODE></A> property.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/referencing/operation/builder/GridToEnvelopeMapper.html#isAutomatic(int)"><CODE>isAutomatic(int)</CODE></A>, <A HREF="../../../../../org/geotools/referencing/operation/builder/GridToEnvelopeMapper.html#setAutomatic(int)"><CODE>setAutomatic(int)</CODE></A>, <A HREF="../../../../../constant-values.html#org.geotools.referencing.operation.builder.GridToEnvelopeMapper.SWAP_XY">Constant Field Values</A></DL></DL><HR><A NAME="REVERSE_AXIS"><!-- --></A><H3>REVERSE_AXIS</H3><PRE>public static final int <B>REVERSE_AXIS</B></PRE><DL><DD>A bit mask for the <A HREF="../../../../../org/geotools/referencing/operation/builder/GridToEnvelopeMapper.html#setReverseAxis(boolean[])"><CODE>reverseAxis</CODE></A> property.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/referencing/operation/builder/GridToEnvelopeMapper.html#isAutomatic(int)"><CODE>isAutomatic(int)</CODE></A>, <A HREF="../../../../../org/geotools/referencing/operation/builder/GridToEnvelopeMapper.html#setAutomatic(int)"><CODE>setAutomatic(int)</CODE></A>, <A HREF="../../../../../constant-values.html#org.geotools.referencing.operation.builder.GridToEnvelopeMapper.REVERSE_AXIS">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="GridToEnvelopeMapper()"><!-- --></A><H3>GridToEnvelopeMapper</H3><PRE>public <B>GridToEnvelopeMapper</B>()</PRE><DL><DD>Creates a new instance of .<P></DL><HR><A NAME="GridToEnvelopeMapper(org.opengis.coverage.grid.GridRange, org.opengis.spatialschema.geometry.Envelope)"><!-- --></A><H3>GridToEnvelopeMapper</H3><PRE>public <B>GridToEnvelopeMapper</B>(GridRange&nbsp;gridRange,                            Envelope&nbsp;userRange)                     throws MismatchedDimensionException</PRE><DL><DD>Creates a new instance for the specified grid range and envelope.<P><DT><B>Parameters:</B><DD><CODE>gridRange</CODE> - The valid coordinate range of a grid coverage.<DD><CODE>userRange</CODE> - The corresponding coordinate range in user coordinate. This envelope must                  contains entirely all pixels, i.e. the envelope's upper left corner must                  coincide with the upper left corner of the first pixel and the envelope's                  lower right corner must coincide with the lower right corner of the last                  pixel.<DT><B>Throws:</B><DD><CODE>MismatchedDimensionException</CODE> - if the grid range and the envelope doesn't have         consistent dimensions.</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="getGridType()"><!-- --></A><H3>getGridType</H3><PRE>public PixelInCell <B>getGridType</B>()</PRE><DL><DD>Returns whatever the grid range maps pixel center or pixel corner.<P><DD><DL></DL></DD></DL><HR><A NAME="setGridType(org.opengis.referencing.datum.PixelInCell)"><!-- --></A><H3>setGridType</H3><PRE>public void <B>setGridType</B>(PixelInCell&nbsp;gridType)</PRE><DL><DD>Set whatever the grid range maps pixel center or pixel corner.<P><DD><DL></DL></DD></DL><HR><A NAME="getGridRange()"><!-- --></A><H3>getGridRange</H3><PRE>public GridRange <B>getGridRange</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 the grid range.<P><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 the grid range has not yet been defined.</DL></DD></DL><HR><A NAME="setGridRange(org.opengis.coverage.grid.GridRange)"><!-- --></A><H3>setGridRange</H3><PRE>public void <B>setGridRange</B>(GridRange&nbsp;gridRange)</PRE><DL><DD>Set the grid range.<P><DD><DL></DL></DD></DL><HR><A NAME="getEnvelope()"><!-- --></A><H3>getEnvelope</H3><PRE>public Envelope <B>getEnvelope</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 the envelope. For performance reason, this method do not clone the envelope. So the returned object should not be modified.<P><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 the envelope has not yet been defined.</DL>

⌨️ 快捷键说明

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