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

📄 axisangle4f.html

📁 JAVA多媒体开发类库说明
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<TD><CODE><B><A HREF="../../javax/vecmath/AxisAngle4f.html#set(javax.vecmath.Quat4f)">set</A></B>(<A HREF="../../javax/vecmath/Quat4f.html" title="class in javax.vecmath">Quat4f</A>&nbsp;q1)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of this axis-angle to the rotational equivalent of the passed quaternion.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/AxisAngle4f.html#set(javax.vecmath.Vector3f, float)">set</A></B>(<A HREF="../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A>&nbsp;axis,    float&nbsp;angle)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of this AxisAngle4f to the specified  axis and angle.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/AxisAngle4f.html#setAngle(float)">setAngle</A></B>(float&nbsp;angle)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the axis angle, in radians.<br> An axis angle is a rotation angle about the vector (x,y,z).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/AxisAngle4f.html#setX(float)">setX</A></B>(float&nbsp;x)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a new value for <i>x</i> coordinate.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/AxisAngle4f.html#setY(float)">setY</A></B>(float&nbsp;y)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a new value for <i>y</i> coordinate.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/AxisAngle4f.html#setZ(float)">setZ</A></B>(float&nbsp;z)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a new value for <i>z</i> coordinate.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/AxisAngle4f.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string that contains the values of this AxisAngle4f.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="x"><!-- --></A><H3>x</H3><PRE>public float <B>x</B></PRE><DL><DD>The x coordinate.<P><DL></DL></DL><HR><A NAME="y"><!-- --></A><H3>y</H3><PRE>public float <B>y</B></PRE><DL><DD>The y coordinate.<P><DL></DL></DL><HR><A NAME="z"><!-- --></A><H3>z</H3><PRE>public float <B>z</B></PRE><DL><DD>The z coordinate.<P><DL></DL></DL><HR><A NAME="angle"><!-- --></A><H3>angle</H3><PRE>public float <B>angle</B></PRE><DL><DD>The angle of rotation in radians.<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="AxisAngle4f(float, float, float, float)"><!-- --></A><H3>AxisAngle4f</H3><PRE>public <B>AxisAngle4f</B>(float&nbsp;x,                   float&nbsp;y,                   float&nbsp;z,                   float&nbsp;angle)</PRE><DL><DD>Constructs and initializes a AxisAngle4f from the specified xyzw coordinates.<P><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x coordinate<DD><CODE>y</CODE> - the y coordinate<DD><CODE>z</CODE> - the z coordinate<DD><CODE>angle</CODE> - the angle of rotation in radians</DL></DL><HR><A NAME="AxisAngle4f(float[])"><!-- --></A><H3>AxisAngle4f</H3><PRE>public <B>AxisAngle4f</B>(float[]&nbsp;a)</PRE><DL><DD>Constructs and initializes an AxisAngle4f from the array of length 4.<P><DL><DT><B>Parameters:</B><DD><CODE>a</CODE> - the array of length 4 containing x,y,z,angle in order</DL></DL><HR><A NAME="AxisAngle4f(javax.vecmath.AxisAngle4f)"><!-- --></A><H3>AxisAngle4f</H3><PRE>public <B>AxisAngle4f</B>(<A HREF="../../javax/vecmath/AxisAngle4f.html" title="class in javax.vecmath">AxisAngle4f</A>&nbsp;a1)</PRE><DL><DD>Constructs and initializes an AxisAngle4f from the specified  AxisAngle4f.<P><DL><DT><B>Parameters:</B><DD><CODE>a1</CODE> - the AxisAngle4f containing the initialization x y z angle data</DL></DL><HR><A NAME="AxisAngle4f(javax.vecmath.AxisAngle4d)"><!-- --></A><H3>AxisAngle4f</H3><PRE>public <B>AxisAngle4f</B>(<A HREF="../../javax/vecmath/AxisAngle4d.html" title="class in javax.vecmath">AxisAngle4d</A>&nbsp;a1)</PRE><DL><DD>Constructs and initializes an AxisAngle4f from the specified AxisAngle4d.<P><DL><DT><B>Parameters:</B><DD><CODE>a1</CODE> - the AxisAngle4d containing the initialization x y z angle data</DL></DL><HR><A NAME="AxisAngle4f(javax.vecmath.Vector3f, float)"><!-- --></A><H3>AxisAngle4f</H3><PRE>public <B>AxisAngle4f</B>(<A HREF="../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A>&nbsp;axis,                   float&nbsp;angle)</PRE><DL><DD>Constructs and initializes an AxisAngle4f from the specified  axis and angle.<P><DL><DT><B>Parameters:</B><DD><CODE>axis</CODE> - the axis<DD><CODE>angle</CODE> - the angle of rotation in radians<DT><B>Since:</B></DT>  <DD>vecmath 1.2</DD></DL></DL><HR><A NAME="AxisAngle4f()"><!-- --></A><H3>AxisAngle4f</H3><PRE>public <B>AxisAngle4f</B>()</PRE><DL><DD>Constructs and initializes an AxisAngle4f to (0,0,1,0).<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="set(float, float, float, float)"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(float&nbsp;x,                      float&nbsp;y,                      float&nbsp;z,                      float&nbsp;angle)</PRE><DL><DD>Sets the value of this axis-angle to the specified x,y,z,angle.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x coordinate<DD><CODE>y</CODE> - the y coordinate<DD><CODE>z</CODE> - the z coordinate<DD><CODE>angle</CODE> - the angle of rotation in radians</DL></DD></DL><HR><A NAME="set(float[])"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(float[]&nbsp;a)</PRE><DL><DD>Sets the value of this axis-angle to the specified values in the array of length 4.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>a</CODE> - the array of length 4 containing x,y,z,angle in order</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>&nbsp;a1)</PRE><DL><DD>Sets the value of this axis-angle to the value of axis-angle a1.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>a1</CODE> - the axis-angle to be copied</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>&nbsp;a1)</PRE><DL><DD>Sets the value of this axis-angle to the value of axis-angle a1.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>a1</CODE> - the axis-angle to be copied</DL></DD></DL><HR><A NAME="set(javax.vecmath.Vector3f, float)"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(<A HREF="../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A>&nbsp;axis,                      float&nbsp;angle)</PRE><DL><DD>Sets the value of this AxisAngle4f to the specified  axis and angle.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>axis</CODE> - the axis<DD><CODE>angle</CODE> - the angle of rotation in radians<DT><B>Since:</B></DT>  <DD>vecmath 1.2</DD></DL></DD></DL><HR><A NAME="get(float[])"><!-- --></A><H3>get</H3><PRE>public final void <B>get</B>(float[]&nbsp;a)</PRE><DL><DD>Copies the value of this axis-angle into the array a.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>a</CODE> - the array</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>&nbsp;q1)</PRE><DL><DD>Sets the value of this axis-angle to the rotational equivalent of the passed quaternion. If the specified quaternion has no rotational component, the value of this AxisAngle4f is set to an angle of 0 about an axis of (0,1,0).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>q1</CODE> - the Quat4f</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>&nbsp;q1)</PRE><DL><DD>Sets the value of this axis-angle to the rotational equivalent of the passed quaternion. If the specified quaternion has no rotational component, the value of this AxisAngle4f is set to an angle of 0 about an axis of (0,1,0).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>q1</CODE> - the Quat4d</DL></DD></DL><HR><A NAME="set(javax.vecmath.Matrix4f)"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(<A HREF="../../javax/vecmath/Matrix4f.html" title="class in javax.vecmath">Matrix4f</A>&nbsp;m1)</PRE><DL><DD>Sets the value of this axis-angle to the rotational component of the passed matrix. If the specified matrix has no rotational component, the value of this AxisAngle4f is set to an angle of 0 about an axis of (0,1,0).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>m1</CODE> - the matrix4f</DL></DD></DL><HR><A NAME="set(javax.vecmath.Matrix4d)"><!-- --></A><H3>set</H3>

⌨️ 快捷键说明

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