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

📄 matrix3f.html

📁 JAVA多媒体开发类库说明
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<P><DL></DL></DL><HR><A NAME="m12"><!-- --></A><H3>m12</H3><PRE>public float <B>m12</B></PRE><DL><DD>The third matrix element in the second row.<P><DL></DL></DL><HR><A NAME="m20"><!-- --></A><H3>m20</H3><PRE>public float <B>m20</B></PRE><DL><DD>The first matrix element in the third row.<P><DL></DL></DL><HR><A NAME="m21"><!-- --></A><H3>m21</H3><PRE>public float <B>m21</B></PRE><DL><DD>The second matrix element in the third row.<P><DL></DL></DL><HR><A NAME="m22"><!-- --></A><H3>m22</H3><PRE>public float <B>m22</B></PRE><DL><DD>The third matrix element in the third row.<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="Matrix3f(float, float, float, float, float, float, float, float, float)"><!-- --></A><H3>Matrix3f</H3><PRE>public <B>Matrix3f</B>(float&nbsp;m00,                float&nbsp;m01,                float&nbsp;m02,                float&nbsp;m10,                float&nbsp;m11,                float&nbsp;m12,                float&nbsp;m20,                float&nbsp;m21,                float&nbsp;m22)</PRE><DL><DD>Constructs and initializes a Matrix3f from the specified nine values.<P><DL><DT><B>Parameters:</B><DD><CODE>m00</CODE> - the [0][0] element<DD><CODE>m01</CODE> - the [0][1] element<DD><CODE>m02</CODE> - the [0][2] element<DD><CODE>m10</CODE> - the [1][0] element<DD><CODE>m11</CODE> - the [1][1] element<DD><CODE>m12</CODE> - the [1][2] element<DD><CODE>m20</CODE> - the [2][0] element<DD><CODE>m21</CODE> - the [2][1] element<DD><CODE>m22</CODE> - the [2][2] element</DL></DL><HR><A NAME="Matrix3f(float[])"><!-- --></A><H3>Matrix3f</H3><PRE>public <B>Matrix3f</B>(float[]&nbsp;v)</PRE><DL><DD>Constructs and initializes a Matrix3f from the specified  nine-element array.   this.m00 =v[0], this.m01=v[1], etc.<P><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - the array of length 9 containing in order</DL></DL><HR><A NAME="Matrix3f(javax.vecmath.Matrix3d)"><!-- --></A><H3>Matrix3f</H3><PRE>public <B>Matrix3f</B>(<A HREF="../../javax/vecmath/Matrix3d.html" title="class in javax.vecmath">Matrix3d</A>&nbsp;m1)</PRE><DL><DD>Constructs a new matrix with the same values as the   Matrix3d parameter.<P><DL><DT><B>Parameters:</B><DD><CODE>m1</CODE> - the source matrix</DL></DL><HR><A NAME="Matrix3f(javax.vecmath.Matrix3f)"><!-- --></A><H3>Matrix3f</H3><PRE>public <B>Matrix3f</B>(<A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A>&nbsp;m1)</PRE><DL><DD>Constructs a new matrix with the same values as the  Matrix3f parameter.<P><DL><DT><B>Parameters:</B><DD><CODE>m1</CODE> - the source matrix</DL></DL><HR><A NAME="Matrix3f()"><!-- --></A><H3>Matrix3f</H3><PRE>public <B>Matrix3f</B>()</PRE><DL><DD>Constructs and initializes a Matrix3f to all zeros.<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns a string that contains the values of this Matrix3f.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the String representation</DL></DD></DL><HR><A NAME="setIdentity()"><!-- --></A><H3>setIdentity</H3><PRE>public final void <B>setIdentity</B>()</PRE><DL><DD>Sets this Matrix3f to identity.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setScale(float)"><!-- --></A><H3>setScale</H3><PRE>public final void <B>setScale</B>(float&nbsp;scale)</PRE><DL><DD>Sets the scale component of the current matrix by factoring out the current scale (by doing an SVD) and multiplying by  the new scale.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>scale</CODE> - the new scale amount</DL></DD></DL><HR><A NAME="setElement(int, int, float)"><!-- --></A><H3>setElement</H3><PRE>public final void <B>setElement</B>(int&nbsp;row,                             int&nbsp;column,                             float&nbsp;value)</PRE><DL><DD>Sets the specified element of this matrix3f to the value provided.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - the row number to be modified (zero indexed)<DD><CODE>column</CODE> - the column number to be modified (zero indexed)<DD><CODE>value</CODE> - the new value</DL></DD></DL><HR><A NAME="getRow(int, javax.vecmath.Vector3f)"><!-- --></A><H3>getRow</H3><PRE>public final void <B>getRow</B>(int&nbsp;row,                         <A HREF="../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A>&nbsp;v)</PRE><DL><DD>Copies the matrix values in the specified row into the vector parameter.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - the matrix row<DD><CODE>v</CODE> - the vector into which the matrix row values will be copied</DL></DD></DL><HR><A NAME="getRow(int, float[])"><!-- --></A><H3>getRow</H3><PRE>public final void <B>getRow</B>(int&nbsp;row,                         float[]&nbsp;v)</PRE><DL><DD>Copies the matrix values in the specified row into the array parameter.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - the matrix row<DD><CODE>v</CODE> - the array into which the matrix row values will be copied</DL></DD></DL><HR><A NAME="getColumn(int, javax.vecmath.Vector3f)"><!-- --></A><H3>getColumn</H3><PRE>public final void <B>getColumn</B>(int&nbsp;column,                            <A HREF="../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A>&nbsp;v)</PRE><DL><DD>Copies the matrix values in the specified column into the vector  parameter.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the matrix column<DD><CODE>v</CODE> - the vector into which the matrix row values will be copied</DL></DD></DL><HR><A NAME="getColumn(int, float[])"><!-- --></A><H3>getColumn</H3><PRE>public final void <B>getColumn</B>(int&nbsp;column,                            float[]&nbsp;v)</PRE><DL><DD>Copies the matrix values in the specified column into the array  parameter.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the matrix column<DD><CODE>v</CODE> - the array into which the matrix row values will be copied</DL></DD></DL><HR><A NAME="getElement(int, int)"><!-- --></A><H3>getElement</H3><PRE>public final float <B>getElement</B>(int&nbsp;row,                              int&nbsp;column)</PRE><DL><DD>Retrieves the value at the specified row and column of this matrix.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - the row number to be retrieved (zero indexed)<DD><CODE>column</CODE> - the column number to be retrieved (zero indexed)<DT><B>Returns:</B><DD>the value at the indexed element.</DL></DD></DL><HR><A NAME="setRow(int, float, float, float)"><!-- --></A><H3>setRow</H3><PRE>public final void <B>setRow</B>(int&nbsp;row,                         float&nbsp;x,                         float&nbsp;y,                         float&nbsp;z)</PRE><DL><DD>Sets the specified row of this matrix3f to the three values provided.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - the row number to be modified (zero indexed)<DD><CODE>x</CODE> - the first column element<DD><CODE>y</CODE> - the second column element<DD><CODE>z</CODE> - the third column element</DL></DD></DL><HR><A NAME="setRow(int, javax.vecmath.Vector3f)"><!-- --></A><H3>setRow</H3><PRE>public final void <B>setRow</B>(int&nbsp;row,                         <A HREF="../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A>&nbsp;v)</PRE><DL><DD>Sets the specified row of this matrix3f to the Vector provided.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - the row number to be modified (zero indexed)<DD><CODE>v</CODE> - the replacement row</DL></DD></DL><HR><A NAME="setRow(int, float[])"><!-- --></A><H3>setRow</H3><PRE>public final void <B>setRow</B>(int&nbsp;row,                         float[]&nbsp;v)</PRE><DL><DD>Sets the specified row of this matrix3f to the three values provided.<P><DD><DL>

⌨️ 快捷键说明

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