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

📄 tuple3f.html

📁 java 3d帮助文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Tuple3f.html#scaleAdd(float, javax.vecmath.Tuple3f, javax.vecmath.Tuple3f)">scaleAdd</A></B>(float&nbsp;s,         <A HREF="../../javax/vecmath/Tuple3f.html">Tuple3f</A>&nbsp;t1,         <A HREF="../../javax/vecmath/Tuple3f.html">Tuple3f</A>&nbsp;t2)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of this tuple to the scalar multiplication of tuple t1 and then adds tuple t2 (this = s*t1 + t2).</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/Tuple3f.html#set(float[])">set</A></B>(float[]&nbsp;t)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of this tuple to the xyz coordinates specified in the array of length 3.</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/Tuple3f.html#set(float, float, float)">set</A></B>(float&nbsp;x,    float&nbsp;y,    float&nbsp;z)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of this tuple to the specified xyz coordinates.</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/Tuple3f.html#set(javax.vecmath.Tuple3d)">set</A></B>(<A HREF="../../javax/vecmath/Tuple3d.html">Tuple3d</A>&nbsp;t1)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of this tuple to the value of tuple t1.</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/Tuple3f.html#set(javax.vecmath.Tuple3f)">set</A></B>(<A HREF="../../javax/vecmath/Tuple3f.html">Tuple3f</A>&nbsp;t1)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of this tuple to the value of tuple t1.</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/Tuple3f.html#sub(javax.vecmath.Tuple3f)">sub</A></B>(<A HREF="../../javax/vecmath/Tuple3f.html">Tuple3f</A>&nbsp;t1)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of this tuple to the vector difference of itself and tuple t1 (this = this - t1) .</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/Tuple3f.html#sub(javax.vecmath.Tuple3f, javax.vecmath.Tuple3f)">sub</A></B>(<A HREF="../../javax/vecmath/Tuple3f.html">Tuple3f</A>&nbsp;t1,    <A HREF="../../javax/vecmath/Tuple3f.html">Tuple3f</A>&nbsp;t2)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of this tuple to the vector difference of tuples t1 and t2 (this = t1 - t2).</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/Tuple3f.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 Tuple3f.</TD></TR></TABLE>&nbsp;<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>&nbsp;<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="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><!-- ========= 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="Tuple3f(float, float, float)"><!-- --></A><H3>Tuple3f</H3><PRE>public <B>Tuple3f</B>(float&nbsp;x,               float&nbsp;y,               float&nbsp;z)</PRE><DL><DD>Constructs and initializes a Tuple3f from the specified xyz coordinates.<P><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</DL><HR><A NAME="Tuple3f(float[])"><!-- --></A><H3>Tuple3f</H3><PRE>public <B>Tuple3f</B>(float[]&nbsp;t)</PRE><DL><DD>Constructs and initializes a Tuple3f from the array of length 3.<P><DT><B>Parameters:</B><DD><CODE>t</CODE> - the array of length 3 containing xyz in order</DL><HR><A NAME="Tuple3f(javax.vecmath.Tuple3f)"><!-- --></A><H3>Tuple3f</H3><PRE>public <B>Tuple3f</B>(<A HREF="../../javax/vecmath/Tuple3f.html">Tuple3f</A>&nbsp;t1)</PRE><DL><DD>Constructs and initializes a Tuple3f from the specified Tuple3f.<P><DT><B>Parameters:</B><DD><CODE>t1</CODE> - the Tuple3f containing the initialization x y z data</DL><HR><A NAME="Tuple3f(javax.vecmath.Tuple3d)"><!-- --></A><H3>Tuple3f</H3><PRE>public <B>Tuple3f</B>(<A HREF="../../javax/vecmath/Tuple3d.html">Tuple3d</A>&nbsp;t1)</PRE><DL><DD>Constructs and initializes a Tuple3f from the specified Tuple3d.<P><DT><B>Parameters:</B><DD><CODE>t1</CODE> - the Tuple3d containing the initialization x y z data</DL><HR><A NAME="Tuple3f()"><!-- --></A><H3>Tuple3f</H3><PRE>public <B>Tuple3f</B>()</PRE><DL><DD>Constructs and initializes a Tuple3f to (0,0,0).<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 Tuple3f. The form is (x,y,z).<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="set(float, float, float)"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(float&nbsp;x,                      float&nbsp;y,                      float&nbsp;z)</PRE><DL><DD>Sets the value of this tuple to the specified xyz coordinates.<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</DL></DD></DL><HR><A NAME="set(float[])"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(float[]&nbsp;t)</PRE><DL><DD>Sets the value of this tuple to the xyz coordinates specified in the array of length 3.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - the array of length 3 containing xyz in order</DL></DD></DL><HR><A NAME="set(javax.vecmath.Tuple3f)"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(<A HREF="../../javax/vecmath/Tuple3f.html">Tuple3f</A>&nbsp;t1)</PRE><DL><DD>Sets the value of this tuple to the value of tuple t1.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t1</CODE> - the tuple to be copied</DL></DD></DL><HR><A NAME="set(javax.vecmath.Tuple3d)"><!-- --></A><H3>set</H3><PRE>public final void <B>set</B>(<A HREF="../../javax/vecmath/Tuple3d.html">Tuple3d</A>&nbsp;t1)</PRE><DL><DD>Sets the value of this tuple to the value of tuple t1.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t1</CODE> - the tuple to be copied</DL></DD></DL><HR><A NAME="get(float[])"><!-- --></A><H3>get</H3><PRE>public final void <B>get</B>(float[]&nbsp;t)</PRE><DL><DD>Gets the value of this tuple and copies the values into t.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - the array of length 3 into which the values are copied</DL></DD></DL><HR><A NAME="get(javax.vecmath.Tuple3f)"><!-- --></A><H3>get</H3><PRE>public final void <B>get</B>(<A HREF="../../javax/vecmath/Tuple3f.html">Tuple3f</A>&nbsp;t)</PRE><DL><DD>Gets the value of this tuple and copies the values into t.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - the Tuple3f object into which the values of this object are copied</DL></DD></DL><HR><A NAME="add(javax.vecmath.Tuple3f, javax.vecmath.Tuple3f)"><!-- --></A><H3>add</H3><PRE>public final void <B>add</B>(<A HREF="../../javax/vecmath/Tuple3f.html">Tuple3f</A>&nbsp;t1,                      <A HREF="../../javax/vecmath/Tuple3f.html">Tuple3f</A>&nbsp;t2)</PRE><DL><DD>Sets the value of this tuple to the vector sum of tuples t1 and t2.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t1</CODE> - the first tuple<DD><CODE>t2</CODE> - the second tuple</DL></DD></DL><HR><A NAME="add(javax.vecmath.Tuple3f)"><!-- --></A><H3>add</H3><PRE>public final void <B>add</B>(<A HREF="../../javax/vecmath/Tuple3f.html">Tuple3f</A>&nbsp;t1)</PRE><DL><DD>Sets the value of this tuple to the vector sum of itself and tuple t1.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t1</CODE> - the other tuple</DL></DD></DL><HR><A NAME="sub(javax.vecmath.Tuple3f, javax.vecmath.Tuple3f)"><!-- --></A><H3>sub</H3><PRE>public final void <B>sub</B>(<A HREF="../../javax/vecmath/Tuple3f.html">Tuple3f</A>&nbsp;t1,                      <A HREF="../../javax/vecmath/Tuple3f.html">Tuple3f</A>&nbsp;t2)</PRE><DL><DD>Sets the value of this tuple to the vector difference of tuples t1 and t2 (this = t1 - t2).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t1</CODE> - the first tuple<DD><CODE>t2</CODE> - the second tuple</DL></DD></DL><HR><A NAME="sub(javax.vecmath.Tuple3f)"><!-- --></A><H3>sub</H3><PRE>public final void <B>sub</B>(<A HREF="../../javax/vecmath/Tuple3f.html">Tuple3f</A>&nbsp;t1)</PRE><DL><DD>Sets the value of this tuple to the vector difference of itself and tuple t1 (this = this - t1) .<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t1</CODE> - the other tuple</DL></DD></DL><HR><A NAME="negate(javax.vecmath.Tuple3f)"><!-- --></A><H3>negate</H3><PRE>public final void <B>negate</B>(<A HREF="../../javax/vecmath/Tuple3f.html">Tuple3f</A>&nbsp;t1)</PRE><DL><DD>Sets the value of this tuple to the negation of tuple t1.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t1</CODE> - the source tuple</DL></DD></DL><HR><A NAME="negate()"><!-- --></A><H3>negate</H3><PRE>public final void <B>negate</B>()</PRE><DL><DD>Negates the value of this tuple in place.<P><DD><DL></DL></DD><DD><DL>

⌨️ 快捷键说明

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