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

📄 tuple3f.html

📁 JAVA多媒体开发类库说明
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<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" title="class in javax.vecmath">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" title="class in javax.vecmath">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" title="class in javax.vecmath">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" title="class in javax.vecmath">Tuple3f</A>&nbsp;t1,                      <A HREF="../../javax/vecmath/Tuple3f.html" title="class in javax.vecmath">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" title="class in javax.vecmath">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" title="class in javax.vecmath">Tuple3f</A>&nbsp;t1,                      <A HREF="../../javax/vecmath/Tuple3f.html" title="class in javax.vecmath">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" title="class in javax.vecmath">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" title="class in javax.vecmath">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></DL></DD></DL><HR><A NAME="scale(float, javax.vecmath.Tuple3f)"><!-- --></A><H3>scale</H3><PRE>public final void <B>scale</B>(float&nbsp;s,                        <A HREF="../../javax/vecmath/Tuple3f.html" title="class in javax.vecmath">Tuple3f</A>&nbsp;t1)</PRE><DL><DD>Sets the value of this vector to the scalar multiplication of tuple t1.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - the scalar value<DD><CODE>t1</CODE> - the source tuple</DL></DD></DL><HR><A NAME="scale(float)"><!-- --></A><H3>scale</H3><PRE>public final void <B>scale</B>(float&nbsp;s)</PRE><DL><DD>Sets the value of this tuple to the scalar multiplication of the scale factor with this.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - the scalar value</DL></DD></DL><HR><A NAME="scaleAdd(float, javax.vecmath.Tuple3f, javax.vecmath.Tuple3f)"><!-- --></A><H3>scaleAdd</H3><PRE>public final void <B>scaleAdd</B>(float&nbsp;s,                           <A HREF="../../javax/vecmath/Tuple3f.html" title="class in javax.vecmath">Tuple3f</A>&nbsp;t1,                           <A HREF="../../javax/vecmath/Tuple3f.html" title="class in javax.vecmath">Tuple3f</A>&nbsp;t2)</PRE><DL><DD>Sets the value of this tuple to the scalar multiplication of tuple t1 and then adds tuple t2 (this = s*t1 + t2).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - the scalar value<DD><CODE>t1</CODE> - the tuple to be scaled and added<DD><CODE>t2</CODE> - the tuple to be added without a scale</DL></DD></DL><HR><A NAME="scaleAdd(float, javax.vecmath.Tuple3f)"><!-- --></A><H3>scaleAdd</H3><PRE>public final void <B>scaleAdd</B>(float&nbsp;s,                           <A HREF="../../javax/vecmath/Tuple3f.html" title="class in javax.vecmath">Tuple3f</A>&nbsp;t1)</PRE><DL><DD>Sets the value of this tuple to the scalar multiplication of itself and then adds tuple t1 (this = s*this + t1).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - the scalar value<DD><CODE>t1</CODE> - the tuple to be added</DL></DD></DL><HR><A NAME="equals(javax.vecmath.Tuple3f)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="../../javax/vecmath/Tuple3f.html" title="class in javax.vecmath">Tuple3f</A>&nbsp;t1)</PRE><DL><DD>Returns true if the Object t1 is of type Tuple3f and all of the data members of t1 are equal to the corresponding data members in this Tuple3f.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t1</CODE> - the vector with which the comparison is made<DT><B>Returns:</B><DD>true or false</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;t1)</PRE><DL><DD>Returns true if the Object t1 is of type Tuple3f and all of the data members of t1 are equal to the corresponding data members in this Tuple3f.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t1</CODE> - the Object with which the comparison is made<DT><B>Returns:</B><DD>true or false</DL></DD></DL><HR><A NAME="epsilonEquals(javax.vecmath.Tuple3f, float)"><!-- --></A><H3>epsilonEquals</H3><PRE>public boolean <B>epsilonEquals</B>(<A HREF="../../javax/vecmath/Tuple3f.html" title="class in javax.vecmath">Tuple3f</A>&nbsp;t1,                             float&nbsp;epsilon)</PRE><DL><DD>Returns true if the L-infinite distance between this tuple and tuple t1 is less than or equal to the epsilon parameter,  otherwise returns false.  The L-infinite distance is equal to MAX[abs(x1-x2), abs(y1-y2), abs(z1-z2)].<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t1</CODE> - the tuple to be compared to this tuple<DD><CODE>epsilon</CODE> - the threshold value<DT><B>Returns:</B><DD>true or false</DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Returns a hash code value based on the data values in this object.  Two different Tuple3f objects with identical data values (i.e., Tuple3f.equals returns true) will return the same hash code value.  Two objects with different data members may return the same hash value, although this is not likely.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the integer hash code value</DL></DD></DL><HR><A NAME="clamp(float, float, javax.vecmath.Tuple3f)"><!-- --></A><H3>clamp</H3><PRE>public final void <B>clamp</B>(float&nbsp;min,                        float&nbsp;max,                        <A HREF="../../javax/vecmath/Tuple3f.html" title="class in javax.vecmath">Tuple3f</A>&nbsp;t)</PRE><DL><DD>Clamps the tuple parameter to the range [low, high] and   places the values into this tuple.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>min</CODE> - the lowest value in the tuple after clamping<DD><CODE>max</CODE> - the highest value in the tuple after clamping<DD><CODE>t</CODE> - the source tuple, which will not be modified</DL></DD>

⌨️ 快捷键说明

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