📄 matrix3f.html
字号:
<TD><CODE><B><A HREF="../../javax/vecmath/Matrix3f.html#transform(javax.vecmath.Tuple3f)">transform</A></B>(<A HREF="../../javax/vecmath/Tuple3f.html">Tuple3f</A> t)</CODE><BR> Multiply this matrix by the tuple t and place the result back into the tuple (t = this*t).</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="../../javax/vecmath/Matrix3f.html#transform(javax.vecmath.Tuple3f, javax.vecmath.Tuple3f)">transform</A></B>(<A HREF="../../javax/vecmath/Tuple3f.html">Tuple3f</A> t, <A HREF="../../javax/vecmath/Tuple3f.html">Tuple3f</A> result)</CODE><BR> Multiply this matrix by the tuple t and and place the result into the tuple "result" (result = this*t).</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="../../javax/vecmath/Matrix3f.html#transpose()">transpose</A></B>()</CODE><BR> Sets the value of this matrix to its transpose.</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="../../javax/vecmath/Matrix3f.html#transpose(javax.vecmath.Matrix3f)">transpose</A></B>(<A HREF="../../javax/vecmath/Matrix3f.html">Matrix3f</A> m1)</CODE><BR> Sets the value of this matrix to the transpose of the argument matrix.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><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 float <B>m00</B></PRE><DL><DD>The first matrix element in the first row.<P><DL></DL></DL><HR><A NAME="m01"><!-- --></A><H3>m01</H3><PRE>public float <B>m01</B></PRE><DL><DD>The second matrix element in the first row.<P><DL></DL></DL><HR><A NAME="m02"><!-- --></A><H3>m02</H3><PRE>public float <B>m02</B></PRE><DL><DD>The third matrix element in the first row.<P><DL></DL></DL><HR><A NAME="m10"><!-- --></A><H3>m10</H3><PRE>public float <B>m10</B></PRE><DL><DD>The first matrix element in the second row.<P><DL></DL></DL><HR><A NAME="m11"><!-- --></A><H3>m11</H3><PRE>public float <B>m11</B></PRE><DL><DD>The second matrix element in the second row.<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" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="Matrix3f(float, float, float, float, float, float, float, float, float)"><!-- --></A><H3>Matrix3f</H3><PRE>public <B>Matrix3f</B>(float m00, float m01, float m02, float m10, float m11, float m12, float m20, float m21, float m22)</PRE><DL><DD>Constructs and initializes a Matrix3f from the specified nine values.<P><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><HR><A NAME="Matrix3f(float[])"><!-- --></A><H3>Matrix3f</H3><PRE>public <B>Matrix3f</B>(float[] 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><DT><B>Parameters:</B><DD><CODE>v</CODE> - the array of length 9 containing in order</DL><HR><A NAME="Matrix3f(javax.vecmath.Matrix3d)"><!-- --></A><H3>Matrix3f</H3><PRE>public <B>Matrix3f</B>(<A HREF="../../javax/vecmath/Matrix3d.html">Matrix3d</A> m1)</PRE><DL><DD>Constructs a new matrix with the same values as the Matrix3d parameter.<P><DT><B>Parameters:</B><DD><CODE>m1</CODE> - the source matrix</DL><HR><A NAME="Matrix3f(javax.vecmath.Matrix3f)"><!-- --></A><H3>Matrix3f</H3><PRE>public <B>Matrix3f</B>(<A HREF="../../javax/vecmath/Matrix3f.html">Matrix3f</A> m1)</PRE><DL><DD>Constructs a new matrix with the same values as the Matrix3f parameter.<P><DT><B>Parameters:</B><DD><CODE>m1</CODE> - the source matrix</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" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></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 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 row, int column, float 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 row, <A HREF="../../javax/vecmath/Vector3f.html">Vector3f</A> 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 row, float[] 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 column, <A HREF="../../javax/vecmath/Vector3f.html">Vector3f</A> 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>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 column, float[] 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>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 row,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -