📄 matrix4d.html
字号:
<BR> Constructs and initializes a Matrix4d to all zeros.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#Matrix4d(double[])">Matrix4d</A></B>(double[] v)</CODE><BR> Constructs and initializes a Matrix4d from the specified 16 element array.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#Matrix4d(double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double)">Matrix4d</A></B>(double m00, double m01, double m02, double m03, double m10, double m11, double m12, double m13, double m20, double m21, double m22, double m23, double m30, double m31, double m32, double m33)</CODE><BR> Constructs and initializes a Matrix4d from the specified 16 values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#Matrix4d(javax.vecmath.Matrix3d, javax.vecmath.Vector3d, double)">Matrix4d</A></B>(<A HREF="../../javax/vecmath/Matrix3d.html" title="class in javax.vecmath">Matrix3d</A> m1, <A HREF="../../javax/vecmath/Vector3d.html" title="class in javax.vecmath">Vector3d</A> t1, double s)</CODE><BR> Constructs and initializes a Matrix4f from the rotation matrix, translation, and scale values; the scale is applied only to the rotational components of the matrix (upper 3x3) and not to the translational components of the matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#Matrix4d(javax.vecmath.Matrix3f, javax.vecmath.Vector3d, double)">Matrix4d</A></B>(<A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m1, <A HREF="../../javax/vecmath/Vector3d.html" title="class in javax.vecmath">Vector3d</A> t1, double s)</CODE><BR> Constructs and initializes a Matrix4d from the rotation matrix, translation, and scale values; the scale is applied only to the rotational components of the matrix (upper 3x3) and not to the translational components of the matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#Matrix4d(javax.vecmath.Matrix4d)">Matrix4d</A></B>(<A HREF="../../javax/vecmath/Matrix4d.html" title="class in javax.vecmath">Matrix4d</A> m1)</CODE><BR> Constructs a new matrix with the same values as the Matrix4d parameter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#Matrix4d(javax.vecmath.Matrix4f)">Matrix4d</A></B>(<A HREF="../../javax/vecmath/Matrix4f.html" title="class in javax.vecmath">Matrix4f</A> m1)</CODE><BR> Constructs a new matrix with the same values as the Matrix4f parameter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#Matrix4d(javax.vecmath.Quat4d, javax.vecmath.Vector3d, double)">Matrix4d</A></B>(<A HREF="../../javax/vecmath/Quat4d.html" title="class in javax.vecmath">Quat4d</A> q1, <A HREF="../../javax/vecmath/Vector3d.html" title="class in javax.vecmath">Vector3d</A> t1, double s)</CODE><BR> Constructs and initializes a Matrix4d from the quaternion, translation, and scale values; the scale is applied only to the rotational components of the matrix (upper 3x3) and not to the translational components.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#Matrix4d(javax.vecmath.Quat4f, javax.vecmath.Vector3d, double)">Matrix4d</A></B>(<A HREF="../../javax/vecmath/Quat4f.html" title="class in javax.vecmath">Quat4f</A> q1, <A HREF="../../javax/vecmath/Vector3d.html" title="class in javax.vecmath">Vector3d</A> t1, double s)</CODE><BR> Constructs and initializes a Matrix4d from the quaternion, translation, and scale values; the scale is applied only to the rotational components of the matrix (upper 3x3) and not to the translational components.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></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/Matrix4d.html#add(double)">add</A></B>(double scalar)</CODE><BR> Adds a scalar to each component 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="../../javax/vecmath/Matrix4d.html#add(double, javax.vecmath.Matrix4d)">add</A></B>(double scalar, <A HREF="../../javax/vecmath/Matrix4d.html" title="class in javax.vecmath">Matrix4d</A> m1)</CODE><BR> Adds a scalar to each component of the matrix m1 and places the result into this.</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/Matrix4d.html#add(javax.vecmath.Matrix4d)">add</A></B>(<A HREF="../../javax/vecmath/Matrix4d.html" title="class in javax.vecmath">Matrix4d</A> m1)</CODE><BR> Sets the value of this matrix to sum of itself and matrix m1.</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/Matrix4d.html#add(javax.vecmath.Matrix4d, javax.vecmath.Matrix4d)">add</A></B>(<A HREF="../../javax/vecmath/Matrix4d.html" title="class in javax.vecmath">Matrix4d</A> m1, <A HREF="../../javax/vecmath/Matrix4d.html" title="class in javax.vecmath">Matrix4d</A> m2)</CODE><BR> Sets the value of this matrix to the matrix sum of matrices m1 and m2.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#clone()">clone</A></B>()</CODE><BR> Creates a new object of the same class as this object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#determinant()">determinant</A></B>()</CODE><BR> Computes the determinant of this 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="../../javax/vecmath/Matrix4d.html#epsilonEquals(javax.vecmath.Matrix4d, double)">epsilonEquals</A></B>(<A HREF="../../javax/vecmath/Matrix4d.html" title="class in javax.vecmath">Matrix4d</A> m1, double epsilon)</CODE><BR> Returns true if the L-infinite distance between this matrix and matrix m1 is less than or equal to the epsilon parameter, otherwise returns false.</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="../../javax/vecmath/Matrix4d.html#epsilonEquals(javax.vecmath.Matrix4d, float)">epsilonEquals</A></B>(<A HREF="../../javax/vecmath/Matrix4d.html" title="class in javax.vecmath">Matrix4d</A> m1, float epsilon)</CODE><BR> <B>Deprecated.</B> <I>Use epsilonEquals(Matrix4d,double) instead</I></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="../../javax/vecmath/Matrix4d.html#equals(javax.vecmath.Matrix4d)">equals</A></B>(<A HREF="../../javax/vecmath/Matrix4d.html" title="class in javax.vecmath">Matrix4d</A> m1)</CODE><BR> Returns true if all of the data members of Matrix4d m1 are equal to the corresponding data members in this Matrix4d.</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="../../javax/vecmath/Matrix4d.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object t1)</CODE><BR> Returns true if the Object t1 is of type Matrix4d and all of the data members of t1 are equal to the corresponding data members in this Matrix4d.</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/Matrix4d.html#get(javax.vecmath.Matrix3d)">get</A></B>(<A HREF="../../javax/vecmath/Matrix3d.html" title="class in javax.vecmath">Matrix3d</A> m1)</CODE><BR> Performs an SVD normalization of this matrix in order to acquire the normalized rotational component; the values are placed into the Matrix3d parameter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#get(javax.vecmath.Matrix3d, javax.vecmath.Vector3d)">get</A></B>(<A HREF="../../javax/vecmath/Matrix3d.html" title="class in javax.vecmath">Matrix3d</A> m1, <A HREF="../../javax/vecmath/Vector3d.html" title="class in javax.vecmath">Vector3d</A> t1)</CODE><BR> Performs an SVD normalization of this matrix to calculate the rotation as a 3x3 matrix, the translation, and the scale.</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/Matrix4d.html#get(javax.vecmath.Matrix3f)">get</A></B>(<A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m1)</CODE><BR> Performs an SVD normalization of this matrix in order to acquire the normalized rotational component; the values are placed into the Matrix3f parameter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#get(javax.vecmath.Matrix3f, javax.vecmath.Vector3d)">get</A></B>(<A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m1, <A HREF="../../javax/vecmath/Vector3d.html" title="class in javax.vecmath">Vector3d</A> t1)</CODE><BR> Performs an SVD normalization of this matrix to calculate the rotation as a 3x3 matrix, the translation, and the scale.</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/Matrix4d.html#get(javax.vecmath.Quat4d)">get</A></B>(<A HREF="../../javax/vecmath/Quat4d.html" title="class in javax.vecmath">Quat4d</A> q1)</CODE><BR> Performs an SVD normalization of q1 matrix in order to acquire the normalized rotational component; the values are placed into the Quat4d parameter.</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/Matrix4d.html#get(javax.vecmath.Quat4f)">get</A></B>(<A HREF="../../javax/vecmath/Quat4f.html" title="class in javax.vecmath">Quat4f</A> q1)</CODE><BR> Performs an SVD normalization of this matrix in order to acquire the normalized rotational component; the values are placed into the Quat4f parameter.</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/Matrix4d.html#get(javax.vecmath.Vector3d)">get</A></B>(<A HREF="../../javax/vecmath/Vector3d.html" title="class in javax.vecmath">Vector3d</A> trans)</CODE><BR> Retrieves the translational components 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="../../javax/vecmath/Matrix4d.html#getColumn(int, double[])">getColumn</A></B>(int column,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -