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

📄 gridsampledimension.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/coverage/GridSampleDimension.html#getOffset()">getOffset</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value to add to grid values for this sample dimension. </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/GridSampleDimension.html#getPalette()">getPalette</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Color palette associated with the sample dimension. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;PaletteInterpretation</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/coverage/GridSampleDimension.html#getPaletteInterpretation()">getPaletteInterpretation</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates the type of color palette entry for sample dimensions which have a palette. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/util/NumberRange.html" title="class in org.geotools.util">NumberRange</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/coverage/GridSampleDimension.html#getRange()">getRange</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the range of values in this sample dimension. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;SampleDimensionType</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/coverage/GridSampleDimension.html#getSampleDimensionType()">getSampleDimensionType</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a code value indicating grid value data type. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;MathTransform1D</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/coverage/GridSampleDimension.html#getSampleToGeophysics()">getSampleToGeophysics</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a transform from sample values to geophysics values. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/coverage/GridSampleDimension.html#getScale()">getScale</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value which is multiplied to grid values for this sample dimension. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/coverage/GridSampleDimension.html#getUnits()">getUnits</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the unit information for this sample dimension. </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/GridSampleDimension.html#hashCode()">hashCode</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a hash value for this sample dimension. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/coverage/GridSampleDimension.html" title="class in org.geotools.coverage">GridSampleDimension</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/coverage/GridSampleDimension.html#rescale(double, double)">rescale</A></B>(double&nbsp;scale,        double&nbsp;offset)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a sample dimension using new <A HREF="../../../org/geotools/coverage/GridSampleDimension.html#getScale()"><CODE>scale</CODE></A> and <A HREF="../../../org/geotools/coverage/GridSampleDimension.html#getOffset()"><CODE>offset</CODE></A> coefficients. </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/GridSampleDimension.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of this sample dimension. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../org/geotools/coverage/GridSampleDimension.html" title="class in org.geotools.coverage">GridSampleDimension</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/coverage/GridSampleDimension.html#wrap(org.opengis.coverage.SampleDimension)">wrap</A></B>(SampleDimension&nbsp;sd)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wrap the specified OpenGIS's sample dimension into a Geotools's implementation of .</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 =========== --><!-- ========= 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="GridSampleDimension()"><!-- --></A><H3>GridSampleDimension</H3><PRE>public <B>GridSampleDimension</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../org/geotools/coverage/GridSampleDimension.html#GridSampleDimension(java.lang.CharSequence)"><CODE>GridSampleDimension(CharSequence)</CODE></A> instead.</I><P><DD>Constructs a sample dimension with no description and no category.<P></DL><HR><A NAME="GridSampleDimension(java.lang.CharSequence)"><!-- --></A><H3>GridSampleDimension</H3><PRE>public <B>GridSampleDimension</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/CharSequence.html" title="class or interface in java.lang">CharSequence</A>&nbsp;description)</PRE><DL><DD>Constructs a sample dimension with specified name and no category.<P><DT><B>Parameters:</B><DD><CODE>description</CODE> - The sample dimension title or description, or  if            none. This is the value to be returned by <A HREF="../../../org/geotools/coverage/GridSampleDimension.html#getDescription()"><CODE>getDescription()</CODE></A>.<DT><B>Since:</B></DT>  <DD>2.3</DD></DL><HR><A NAME="GridSampleDimension(java.lang.CharSequence, java.lang.CharSequence[])"><!-- --></A><H3>GridSampleDimension</H3><PRE>public <B>GridSampleDimension</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/CharSequence.html" title="class or interface in java.lang">CharSequence</A>&nbsp;description,                           <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/CharSequence.html" title="class or interface in java.lang">CharSequence</A>[]&nbsp;categoriesNames)</PRE><DL><DD>Constructs a sample dimension with a set of qualitative categories only. This constructor expects only a sequence of category names for the values contained in a sample dimension. This allows for names to be assigned to numerical values. The first entry in the sequence relates to a cell value of zero. For example: [0]="Background", [1]="Water", [2]="Forest", [3]="Urban". The created sample dimension will have no unit and a default set of colors.<P><DT><B>Parameters:</B><DD><CODE>description</CODE> - The sample dimension title or description, or  for the default            (the name of what looks like the "main" category). This is the value to be            returned by <A HREF="../../../org/geotools/coverage/GridSampleDimension.html#getDescription()"><CODE>getDescription()</CODE></A>.<DD><CODE>categoriesNames</CODE> - Sequence of category names for the values contained in a            sample dimension, as <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang"><CODE>String</CODE></A> or            <CODE>InternationalString</CODE> objects.<DT><B>Since:</B></DT>  <DD>2.3</DD></DL><HR><A NAME="GridSampleDimension(java.lang.CharSequence[])"><!-- --></A><H3>GridSampleDimension</H3><PRE>public <B>GridSampleDimension</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/CharSequence.html" title="class or interface in java.lang">CharSequence</A>[]&nbsp;categoriesNames)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Replaced by <A HREF="../../../org/geotools/coverage/GridSampleDimension.html#GridSampleDimension(java.lang.CharSequence, java.lang.CharSequence[])"><CODE>GridSampleDimension(CharSequence, CharSequence[])</CODE></A>.</I><P><DD>Constructs a sample dimension with a set of qualitative categories only. This constructor expects only a sequence of category names for the values contained in a sample dimension. This allows for names to be assigned to numerical values. The first entry in the sequence relates to a cell value of zero. For example: [0]="Background", [1]="Water", [2]="Forest", [3]="Urban". The created sample dimension will have no unit and a default set of colors.<P><DT><B>Parameters:</B><DD><CODE>categoriesNames</CODE> - Sequence of category names for the values contained in a            sample dimension, as <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang"><CODE>String</CODE></A> or            <CODE>InternationalString</CODE> objects.</DL><HR><A NAME="GridSampleDimension(java.lang.CharSequence, java.lang.CharSequence[], java.awt.Color[])"><!-- --></A><H3>GridSampleDimension</H3><PRE>public <B>GridSampleDimension</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/CharSequence.html" title="class or interface in java.lang">CharSequence</A>&nbsp;description,                           <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/CharSequence.html" title="class or interface in java.lang">CharSequence</A>[]&nbsp;names,                           <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>[]&nbsp;colors)</PRE><DL><DD>Constructs a sample dimension with a set of qualitative categories and colors. This constructor expects a sequence of category names for the values contained in a sample dimension. This allows for names to be assigned to numerical values. The first entry in the sequence relates to a cell value of zero. For example: [0]="Background", [1]="Water", [2]="Forest", [3]="Urban". The created sample dimension will have no unit and a default set of colors.<P><DT><B>Parameters:</B><DD><CODE>description</CODE> - The sample dimension title or description, or  for the default

⌨️ 快捷键说明

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