📄 matrix3f.html
字号:
</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="setColumn(int, float, float, float)"><!-- --></A><H3>setColumn</H3><PRE>public final void <B>setColumn</B>(int column, float x, float y, float z)</PRE><DL><DD>Sets the specified column of this matrix3f to the three values provided.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the column number to be modified (zero indexed)<DD><CODE>x</CODE> - the first row element<DD><CODE>y</CODE> - the second row element<DD><CODE>z</CODE> - the third row element</DL></DD></DL><HR><A NAME="setColumn(int, javax.vecmath.Vector3f)"><!-- --></A><H3>setColumn</H3><PRE>public final void <B>setColumn</B>(int column, <A HREF="../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A> v)</PRE><DL><DD>Sets the specified column of this matrix3f to the vector provided.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the column number to be modified (zero indexed)<DD><CODE>v</CODE> - the replacement column</DL></DD></DL><HR><A NAME="setColumn(int, float[])"><!-- --></A><H3>setColumn</H3><PRE>public final void <B>setColumn</B>(int column, float[] v)</PRE><DL><DD>Sets the specified column of this matrix3f to the three values provided.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the column number to be modified (zero indexed)<DD><CODE>v</CODE> - the replacement column</DL></DD></DL><HR><A NAME="getScale()"><!-- --></A><H3>getScale</H3><PRE>public final float <B>getScale</B>()</PRE><DL><DD>Performs an SVD normalization of this matrix to calculate and return the uniform scale factor. If the matrix has non-uniform scale factors, the largest of the x, y, and z scale factors will be returned. This matrix is not modified.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the scale factor of this matrix</DL></DD></DL><HR><A NAME="add(float)"><!-- --></A><H3>add</H3><PRE>public final void <B>add</B>(float scalar)</PRE><DL><DD>Adds a scalar to each component of this matrix.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>scalar</CODE> - the scalar adder</DL></DD></DL><HR><A NAME="add(float, javax.vecmath.Matrix3f)"><!-- --></A><H3>add</H3><PRE>public final void <B>add</B>(float scalar, <A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m1)</PRE><DL><DD>Adds a scalar to each component of the matrix m1 and places the result into this. Matrix m1 is not modified.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>scalar</CODE> - the scalar adder.<DD><CODE>m1</CODE> - the original matrix values</DL></DD></DL><HR><A NAME="add(javax.vecmath.Matrix3f, javax.vecmath.Matrix3f)"><!-- --></A><H3>add</H3><PRE>public final void <B>add</B>(<A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m1, <A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m2)</PRE><DL><DD>Sets the value of this matrix to the matrix sum of matrices m1 and m2.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>m1</CODE> - the first matrix<DD><CODE>m2</CODE> - the second matrix</DL></DD></DL><HR><A NAME="add(javax.vecmath.Matrix3f)"><!-- --></A><H3>add</H3><PRE>public final void <B>add</B>(<A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m1)</PRE><DL><DD>Sets the value of this matrix to the matrix sum of itself and matrix m1.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>m1</CODE> - the other matrix</DL></DD></DL><HR><A NAME="sub(javax.vecmath.Matrix3f, javax.vecmath.Matrix3f)"><!-- --></A><H3>sub</H3><PRE>public final void <B>sub</B>(<A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m1, <A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m2)</PRE><DL><DD>Sets the value of this matrix to the matrix difference of matrices m1 and m2.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>m1</CODE> - the first matrix<DD><CODE>m2</CODE> - the second matrix</DL></DD></DL><HR><A NAME="sub(javax.vecmath.Matrix3f)"><!-- --></A><H3>sub</H3><PRE>public final void <B>sub</B>(<A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m1)</PRE><DL><DD>Sets the value of this matrix to the matrix difference of itself and matrix m1 (this = this - m1).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>m1</CODE> - the other matrix</DL></DD></DL><HR><A NAME="transpose()"><!-- --></A><H3>transpose</H3><PRE>public final void <B>transpose</B>()</PRE><DL><DD>Sets the value of this matrix to its transpose.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="transpose(javax.vecmath.Matrix3f)"><!-- --></A><H3>transpose</H3><PRE>public final void <B>transpose</B>(<A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m1)</PRE><DL><DD>Sets the value of this matrix to the transpose of the argument matrix.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>m1</CODE> - the matrix to be transposed</DL></DD></DL><HR><A NAME="set(javax.vecmath.Quat4f)"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(<A HREF="../../javax/vecmath/Quat4f.html" title="class in javax.vecmath">Quat4f</A> q1)</PRE><DL><DD>Sets the value of this matrix to the matrix conversion of the (single precision) quaternion argument.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>q1</CODE> - the quaternion to be converted</DL></DD></DL><HR><A NAME="set(javax.vecmath.AxisAngle4f)"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(<A HREF="../../javax/vecmath/AxisAngle4f.html" title="class in javax.vecmath">AxisAngle4f</A> a1)</PRE><DL><DD>Sets the value of this matrix to the matrix conversion of the (single precision) axis and angle argument.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>a1</CODE> - the axis and angle to be converted</DL></DD></DL><HR><A NAME="set(javax.vecmath.AxisAngle4d)"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(<A HREF="../../javax/vecmath/AxisAngle4d.html" title="class in javax.vecmath">AxisAngle4d</A> a1)</PRE><DL><DD>Sets the value of this matrix to the matrix conversion of the (double precision) axis and angle argument.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>a1</CODE> - the axis and angle to be converted</DL></DD></DL><HR><A NAME="set(javax.vecmath.Quat4d)"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(<A HREF="../../javax/vecmath/Quat4d.html" title="class in javax.vecmath">Quat4d</A> q1)</PRE><DL><DD>Sets the value of this matrix to the matrix conversion of the (single precision) quaternion argument.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>q1</CODE> - the quaternion to be converted</DL></DD></DL><HR><A NAME="set(float[])"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(float[] m)</PRE><DL><DD>Sets the values in this Matrix3f equal to the row-major array parameter (ie, the first three elements of the array will be copied into the first row of this matrix, etc.).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>m</CODE> - the single precision array of length 9</DL></DD></DL><HR><A NAME="set(javax.vecmath.Matrix3f)"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(<A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m1)</PRE><DL><DD>Sets the value of this matrix to the value of the Matrix3f argument.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>m1</CODE> - the source matrix3f</DL></DD></DL><HR><A NAME="set(javax.vecmath.Matrix3d)"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(<A HREF="../../javax/vecmath/Matrix3d.html" title="class in javax.vecmath">Matrix3d</A> m1)</PRE><DL><DD>Sets the value of this matrix to the float value of the Matrix3d argument.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>m1</CODE> - the source matrix3d</DL></DD></DL><HR><A NAME="invert(javax.vecmath.Matrix3f)"><!-- --></A><H3>invert</H3><PRE>public final void <B>invert</B>(<A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m1)</PRE><DL><DD>Sets the value of
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -