matrix1.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 800 行 · 第 1/3 页
HTML
800 行
Returns if this matrix is an affine transform. A transform is affine if the matrix is square and last row contains only zeros, except in the last column which contains 1.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/matrix/Matrix1.html#isIdentity()">isIdentity</A></B>()</CODE><BR> Returns if this matrix is an identity matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/matrix/Matrix1.html#isIdentity(double)">isIdentity</A></B>(double tolerance)</CODE><BR> Returns if this matrix is an identity matrix using the provided tolerance. This method is equivalent to computing the difference between this matrix and an identity matrix of identical size, and returning if and only if all differences are smaller than or equal to .</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/matrix/Matrix1.html#multiply(org.opengis.referencing.operation.Matrix)">multiply</A></B>(Matrix matrix)</CODE><BR> Sets the value of this matrix to the result of multiplying itself with the specified matrix. In other words, performs = × . In the context of coordinate transformations, this is equivalent to <code><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/AffineTransform.html#concatenate(java.awt.geom.AffineTransform)" title="class or interface in java.awt.geom">AffineTransform.concatenate</A></code>: first transforms by the supplied transform and then transform the result by the original transform.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/matrix/Matrix1.html#negate()">negate</A></B>()</CODE><BR> Negates the value of this matrix: = .</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/matrix/Matrix1.html#setElement(int, int, double)">setElement</A></B>(int row, int col, double value)</CODE><BR> Set the element at the specified index.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/matrix/Matrix1.html#setIdentity()">setIdentity</A></B>()</CODE><BR> Sets this matrix to the identity matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/matrix/Matrix1.html#setZero()">setZero</A></B>()</CODE><BR> Sets all the values in this matrix to zero.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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/referencing/operation/matrix/Matrix1.html#toString()">toString</A></B>()</CODE><BR> Returns a string representation of this matrix. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/matrix/Matrix1.html#transpose()">transpose</A></B>()</CODE><BR> Sets the value of this matrix to its transpose.</TD></TR></TABLE> <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#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> <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="m00"><!-- --></A><H3>m00</H3><PRE>public double <B>m00</B></PRE><DL><DD>The only element in this matrix.<P><DL></DL></DL><HR><A NAME="SIZE"><!-- --></A><H3>SIZE</H3><PRE>public static final int <B>SIZE</B></PRE><DL><DD>The matrix size, which is 1.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.referencing.operation.matrix.Matrix1.SIZE">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="Matrix1()"><!-- --></A><H3>Matrix1</H3><PRE>public <B>Matrix1</B>()</PRE><DL><DD>Creates a new identity matrix.<P></DL><HR><A NAME="Matrix1(double)"><!-- --></A><H3>Matrix1</H3><PRE>public <B>Matrix1</B>(double m00)</PRE><DL><DD>Creates a new matrix initialized to the specified value.<P></DL><HR><A NAME="Matrix1(org.opengis.referencing.operation.Matrix)"><!-- --></A><H3>Matrix1</H3><PRE>public <B>Matrix1</B>(Matrix matrix)</PRE><DL><DD>Creates a new matrix initialized to the same value than the specified one. The specified matrix size must be {@value}×{@value}.<P></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="getNumRow()"><!-- --></A><H3>getNumRow</H3><PRE>public final int <B>getNumRow</B>()</PRE><DL><DD>Returns the number of rows in this matrix, which is always {@value} in this implementation.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/referencing/operation/matrix/XMatrix.html#getNumRow()">getNumRow</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/referencing/operation/matrix/XMatrix.html" title="interface in org.geotools.referencing.operation.matrix">XMatrix</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getNumCol()"><!-- --></A><H3>getNumCol</H3><PRE>public final int <B>getNumCol</B>()</PRE><DL><DD>Returns the number of colmuns in this matrix, which is always {@value} in this implementation.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/referencing/operation/matrix/XMatrix.html#getNumCol()">getNumCol</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/referencing/operation/matrix/XMatrix.html" title="interface in org.geotools.referencing.operation.matrix">XMatrix</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getElement(int, int)"><!-- --></A><H3>getElement</H3><PRE>public final double <B>getElement</B>(int row, int col)</PRE><DL><DD>Returns the element at the specified index.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/referencing/operation/matrix/XMatrix.html#getElement(int, int)">getElement</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/referencing/operation/matrix/XMatrix.html" title="interface in org.geotools.referencing.operation.matrix">XMatrix</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setElement(int, int, double)"><!-- --></A><H3>setElement</H3><PRE>public final void <B>setElement</B>(int row, int col, double value)</PRE><DL><DD>Set the element at the specified index.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/referencing/operation/matrix/XMatrix.html#setElement(int, int, double)">setElement</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/referencing/operation/matrix/XMatrix.html" title="interface in org.geotools.referencing.operation.matrix">XMatrix</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setZero()"><!-- --></A><H3>setZero</H3><PRE>public final void <B>setZero</B>()</PRE><DL><DD>Sets all the values in this matrix to zero.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/referencing/operation/matrix/XMatrix.html#setZero()">setZero</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/referencing/operation/matrix/XMatrix.html" title="interface in org.geotools.referencing.operation.matrix">XMatrix</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?