📄 gridcoverage2d.html
字号:
public <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>evaluate</B>(DirectPosition point) throws CannotEvaluateException</PRE><DL><DD>Return the value vector for a given point in the coverage. A value for each sample dimension is included in the vector.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>evaluate</CODE> in interface <CODE>Coverage</CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>CannotEvaluateException</CODE></DL></DD></DL><HR><A NAME="evaluate(org.opengis.spatialschema.geometry.DirectPosition, byte[])"><!-- --></A><H3>evaluate</H3><PRE>public byte[] <B>evaluate</B>(DirectPosition coord, byte[] dest) throws CannotEvaluateException</PRE><DL><DD>Returns a sequence of byte values for a given point in the coverage.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>evaluate</CODE> in interface <CODE>Coverage</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/coverage/AbstractCoverage.html#evaluate(org.opengis.spatialschema.geometry.DirectPosition, byte[])">evaluate</A></CODE> in class <CODE><A HREF="../../../../org/geotools/coverage/AbstractCoverage.html" title="class in org.geotools.coverage">AbstractCoverage</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>coord</CODE> - The coordinate point where to evaluate.<DD><CODE>dest</CODE> - An array in which to store values, or .<DT><B>Returns:</B><DD>An array containing values.<DT><B>Throws:</B><DD><CODE>CannotEvaluateException</CODE> - if the values can't be computed at the specified coordinate. More specifically, <CODE>PointOutsideCoverageException</CODE> is thrown if the evaluation failed because the input point has invalid coordinates.</DL></DD></DL><HR><A NAME="evaluate(org.opengis.spatialschema.geometry.DirectPosition, int[])"><!-- --></A><H3>evaluate</H3><PRE>public int[] <B>evaluate</B>(DirectPosition coord, int[] dest) throws CannotEvaluateException</PRE><DL><DD>Returns a sequence of integer values for a given point in the coverage.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>evaluate</CODE> in interface <CODE>Coverage</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/coverage/AbstractCoverage.html#evaluate(org.opengis.spatialschema.geometry.DirectPosition, int[])">evaluate</A></CODE> in class <CODE><A HREF="../../../../org/geotools/coverage/AbstractCoverage.html" title="class in org.geotools.coverage">AbstractCoverage</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>coord</CODE> - The coordinate point where to evaluate.<DD><CODE>dest</CODE> - An array in which to store values, or .<DT><B>Returns:</B><DD>An array containing values.<DT><B>Throws:</B><DD><CODE>CannotEvaluateException</CODE> - if the values can't be computed at the specified coordinate. More specifically, <CODE>PointOutsideCoverageException</CODE> is thrown if the evaluation failed because the input point has invalid coordinates.</DL></DD></DL><HR><A NAME="evaluate(org.opengis.spatialschema.geometry.DirectPosition, float[])"><!-- --></A><H3>evaluate</H3><PRE>public float[] <B>evaluate</B>(DirectPosition coord, float[] dest) throws CannotEvaluateException</PRE><DL><DD>Returns a sequence of float values for a given point in the coverage.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>evaluate</CODE> in interface <CODE>Coverage</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/coverage/AbstractCoverage.html#evaluate(org.opengis.spatialschema.geometry.DirectPosition, float[])">evaluate</A></CODE> in class <CODE><A HREF="../../../../org/geotools/coverage/AbstractCoverage.html" title="class in org.geotools.coverage">AbstractCoverage</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>coord</CODE> - The coordinate point where to evaluate.<DD><CODE>dest</CODE> - An array in which to store values, or .<DT><B>Returns:</B><DD>An array containing values.<DT><B>Throws:</B><DD><CODE>CannotEvaluateException</CODE> - if the values can't be computed at the specified coordinate. More specifically, <CODE>PointOutsideCoverageException</CODE> is thrown if the evaluation failed because the input point has invalid coordinates.</DL></DD></DL><HR><A NAME="evaluate(org.opengis.spatialschema.geometry.DirectPosition, double[])"><!-- --></A><H3>evaluate</H3><PRE>public double[] <B>evaluate</B>(DirectPosition coord, double[] dest) throws CannotEvaluateException</PRE><DL><DD>Returns a sequence of double values for a given point in the coverage.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>evaluate</CODE> in interface <CODE>Coverage</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/coverage/AbstractCoverage.html#evaluate(org.opengis.spatialschema.geometry.DirectPosition, double[])">evaluate</A></CODE> in class <CODE><A HREF="../../../../org/geotools/coverage/AbstractCoverage.html" title="class in org.geotools.coverage">AbstractCoverage</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>coord</CODE> - The coordinate point where to evaluate.<DD><CODE>dest</CODE> - An array in which to store values, or .<DT><B>Returns:</B><DD>An array containing values.<DT><B>Throws:</B><DD><CODE>CannotEvaluateException</CODE> - if the values can't be computed at the specified coordinate. More specifically, <CODE>PointOutsideCoverageException</CODE> is thrown if the evaluation failed because the input point has invalid coordinates.</DL></DD></DL><HR><A NAME="evaluate(java.awt.geom.Point2D, int[])"><!-- --></A><H3>evaluate</H3><PRE>public int[] <B>evaluate</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A> coord, int[] dest) throws CannotEvaluateException</PRE><DL><DD>Returns a sequence of integer values for a given two-dimensional point in the coverage.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>coord</CODE> - The coordinate point where to evaluate.<DD><CODE>dest</CODE> - An array in which to store values, or .<DT><B>Returns:</B><DD>An array containing values.<DT><B>Throws:</B><DD><CODE>CannotEvaluateException</CODE> - if the values can't be computed at the specified coordinate. More specifically, <CODE>PointOutsideCoverageException</CODE> is thrown if the evaluation failed because the input point has invalid coordinates.</DL></DD></DL><HR><A NAME="evaluate(java.awt.geom.Point2D, float[])"><!-- --></A><H3>evaluate</H3><PRE>public float[] <B>evaluate</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A> coord, float[] dest) throws CannotEvaluateException</PRE><DL><DD>Returns a sequence of float values for a given two-dimensional point in the coverage.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>coord</CODE> - The coordinate point where to evaluate.<DD><CODE>dest</CODE> - An array in which to store values, or .<DT><B>Returns:</B><DD>An array containing values.<DT><B>Throws:</B><DD><CODE>CannotEvaluateException</CODE> - if the values can't be computed at the specified coordinate. More specifically, <CODE>PointOutsideCoverageException</CODE> is thrown if the evaluation failed because the input point has invalid coordinates.</DL></DD></DL><HR><A NAME="evaluate(java.awt.geom.Point2D, double[])"><!-- --></A><H3>evaluate</H3><PRE>public double[] <B>evaluate</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A> coord, double[] dest) throws CannotEvaluateException</PRE><DL><DD>Returns a sequence of double values for a given two-dimensional point in the coverage.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>coord</CODE> - The coordinate point where to evaluate.<DD><CODE>dest</CODE> - An array in which to store values, or .<DT><B>Returns:</B><DD>An array containing values.<DT><B>Throws:</B><DD><CODE>CannotEvaluateException</CODE> - if the values can't be computed at the specified coordinate. More specifically, <CODE>PointOutsideCoverageException</CODE> is thrown if the evaluation failed because the input point has invalid coordinates.</DL></DD></DL><HR><A NAME="getDebugString(org.opengis.spatialschema.geometry.DirectPosition)"><!-- --></A><H3>getDebugString</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>getDebugString</B>(DirectPosition coord)</PRE><DL><DD>Returns a debug string for the specified coordinate. This method produces a string with pixel coordinates and pixel values for all bands (with geophysics values or category name in parenthesis). Example for a 1-banded image: <blockquote><pre>(1171,1566)=[196 (29.6 癈)]</pre></blockquote><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>coord</CODE> - The coordinate point where to evaluate.<DT><B>Returns:</B><DD>A string with pixel coordinates and pixel values at the specified location, or if is outside coverage.</DL></DD></DL><HR><A NAME="getOptimalDataBlockSizes()"><!-- --></A><H3>getOptimalDataBlockSizes</H3><PRE>public int[] <B>getOptimalDataBlockS
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -