📄 matrix3d.html
字号:
<A NAME="getColumn(int, double[])"><!-- --></A><H3>getColumn</H3><PRE>public final void <B>getColumn</B>(int column, double[] 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="setRow(int, double, double, double)"><!-- --></A><H3>setRow</H3><PRE>public final void <B>setRow</B>(int row, double x, double y, double z)</PRE><DL><DD>Sets the specified row of this matrix3d to the 4 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.Vector3d)"><!-- --></A><H3>setRow</H3><PRE>public final void <B>setRow</B>(int row, <A HREF="../../javax/vecmath/Vector3d.html">Vector3d</A> v)</PRE><DL><DD>Sets the specified row of this matrix3d 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, double[])"><!-- --></A><H3>setRow</H3><PRE>public final void <B>setRow</B>(int row, double[] v)</PRE><DL><DD>Sets the specified row of this matrix3d 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>v</CODE> - the replacement row</DL></DD></DL><HR><A NAME="setColumn(int, double, double, double)"><!-- --></A><H3>setColumn</H3><PRE>public final void <B>setColumn</B>(int column, double x, double y, double z)</PRE><DL><DD>Sets the specified column of this matrix3d 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.Vector3d)"><!-- --></A><H3>setColumn</H3><PRE>public final void <B>setColumn</B>(int column, <A HREF="../../javax/vecmath/Vector3d.html">Vector3d</A> v)</PRE><DL><DD>Sets the specified column of this matrix3d 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, double[])"><!-- --></A><H3>setColumn</H3><PRE>public final void <B>setColumn</B>(int column, double[] v)</PRE><DL><DD>Sets the specified column of this matrix3d 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 double <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(double)"><!-- --></A><H3>add</H3><PRE>public final void <B>add</B>(double 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(double, javax.vecmath.Matrix3d)"><!-- --></A><H3>add</H3><PRE>public final void <B>add</B>(double scalar, <A HREF="../../javax/vecmath/Matrix3d.html">Matrix3d</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.Matrix3d, javax.vecmath.Matrix3d)"><!-- --></A><H3>add</H3><PRE>public final void <B>add</B>(<A HREF="../../javax/vecmath/Matrix3d.html">Matrix3d</A> m1, <A HREF="../../javax/vecmath/Matrix3d.html">Matrix3d</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.Matrix3d)"><!-- --></A><H3>add</H3><PRE>public final void <B>add</B>(<A HREF="../../javax/vecmath/Matrix3d.html">Matrix3d</A> m1)</PRE><DL><DD>Sets the value of this matrix to the 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.Matrix3d, javax.vecmath.Matrix3d)"><!-- --></A><H3>sub</H3><PRE>public final void <B>sub</B>(<A HREF="../../javax/vecmath/Matrix3d.html">Matrix3d</A> m1, <A HREF="../../javax/vecmath/Matrix3d.html">Matrix3d</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.Matrix3d)"><!-- --></A><H3>sub</H3><PRE>public final void <B>sub</B>(<A HREF="../../javax/vecmath/Matrix3d.html">Matrix3d</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.Matrix3d)"><!-- --></A><H3>transpose</H3><PRE>public final void <B>transpose</B>(<A HREF="../../javax/vecmath/Matrix3d.html">Matrix3d</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.Quat4d)"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(<A HREF="../../javax/vecmath/Quat4d.html">Quat4d</A> q1)</PRE><DL><DD>Sets the value of this matrix to the matrix conversion of the double 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.AxisAngle4d)"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(<A HREF="../../javax/vecmath/AxisAngle4d.html">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.Quat4f)"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(<A HREF="../../javax/vecmath/Quat4f.html">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">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.Matrix3f)"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(<A HREF="../../javax/vecmath/Matrix3f.html">Matrix3f</A> m1)</PRE><DL><DD>Sets the value of this matrix to the double value of the Matrix3f argument.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>m1</CODE> - the matrix3d to be converted to double</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">Matrix3d</A> m1)</PRE><DL><DD>Sets the value of this matrix to the 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="set(double[])"><!-- --></A><H3>set</H3><PRE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -