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

📄 tuple2f.html

📁 java 3d帮助文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</DD><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - the scalar value</DL></DD></DL><HR><A NAME="scaleAdd(float, javax.vecmath.Tuple2f, javax.vecmath.Tuple2f)"><!-- --></A><H3>scaleAdd</H3><PRE>public final void <B>scaleAdd</B>(float&nbsp;s,                           <A HREF="../../javax/vecmath/Tuple2f.html">Tuple2f</A>&nbsp;t1,                           <A HREF="../../javax/vecmath/Tuple2f.html">Tuple2f</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 multipled<DD><CODE>t2</CODE> - the tuple to be added</DL></DD></DL><HR><A NAME="scaleAdd(float, javax.vecmath.Tuple2f)"><!-- --></A><H3>scaleAdd</H3><PRE>public final void <B>scaleAdd</B>(float&nbsp;s,                           <A HREF="../../javax/vecmath/Tuple2f.html">Tuple2f</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="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 Tuple2f objects with identical data values (i.e., Tuple2f.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="equals(javax.vecmath.Tuple2f)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="../../javax/vecmath/Tuple2f.html">Tuple2f</A>&nbsp;t1)</PRE><DL><DD>Returns true if all of the data members of Tuple2f t1 are equal to the corresponding data members in this Tuple2f.<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 Tuple2f and all of the data members of t1 are equal to the corresponding data members in this Tuple2f.<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.Tuple2f, float)"><!-- --></A><H3>epsilonEquals</H3><PRE>public boolean <B>epsilonEquals</B>(<A HREF="../../javax/vecmath/Tuple2f.html">Tuple2f</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)].<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="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 Tuple2f. The form is (x,y).<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="clamp(float, float, javax.vecmath.Tuple2f)"><!-- --></A><H3>clamp</H3><PRE>public final void <B>clamp</B>(float&nbsp;min,                        float&nbsp;max,                        <A HREF="../../javax/vecmath/Tuple2f.html">Tuple2f</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></DL><HR><A NAME="clampMin(float, javax.vecmath.Tuple2f)"><!-- --></A><H3>clampMin</H3><PRE>public final void <B>clampMin</B>(float&nbsp;min,                           <A HREF="../../javax/vecmath/Tuple2f.html">Tuple2f</A>&nbsp;t)</PRE><DL><DD>Clamps the minimum value of the tuple parameter to the min   parameter 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>t</CODE> - the source tuple, which will not be modified</DL></DD></DL><HR><A NAME="clampMax(float, javax.vecmath.Tuple2f)"><!-- --></A><H3>clampMax</H3><PRE>public final void <B>clampMax</B>(float&nbsp;max,                           <A HREF="../../javax/vecmath/Tuple2f.html">Tuple2f</A>&nbsp;t)</PRE><DL><DD>Clamps the maximum value of the tuple parameter to the max   parameter and places the values into this tuple.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><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></DL><HR><A NAME="absolute(javax.vecmath.Tuple2f)"><!-- --></A><H3>absolute</H3><PRE>public final void <B>absolute</B>(<A HREF="../../javax/vecmath/Tuple2f.html">Tuple2f</A>&nbsp;t)</PRE><DL><DD>Sets each component of the tuple parameter to its absolute   value and places the modified values into this tuple.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - the source tuple, which will not be modified</DL></DD></DL><HR><A NAME="clamp(float, float)"><!-- --></A><H3>clamp</H3><PRE>public final void <B>clamp</B>(float&nbsp;min,                        float&nbsp;max)</PRE><DL><DD>Clamps this tuple to the range [low, high].<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>min</CODE> - the lowest value in this tuple after clamping<DD><CODE>max</CODE> - the highest value in this tuple after clamping</DL></DD></DL><HR><A NAME="clampMin(float)"><!-- --></A><H3>clampMin</H3><PRE>public final void <B>clampMin</B>(float&nbsp;min)</PRE><DL><DD>Clamps the minimum value of this tuple to the min parameter.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>min</CODE> - the lowest value in this tuple after clamping</DL></DD></DL><HR><A NAME="clampMax(float)"><!-- --></A><H3>clampMax</H3><PRE>public final void <B>clampMax</B>(float&nbsp;max)</PRE><DL><DD>Clamps the maximum value of this tuple to the max parameter.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>max</CODE> - the highest value in the tuple after clamping</DL></DD></DL><HR><A NAME="absolute()"><!-- --></A><H3>absolute</H3><PRE>public final void <B>absolute</B>()</PRE><DL><DD>Sets each component of this tuple to its absolute value.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="interpolate(javax.vecmath.Tuple2f, javax.vecmath.Tuple2f, float)"><!-- --></A><H3>interpolate</H3><PRE>public final void <B>interpolate</B>(<A HREF="../../javax/vecmath/Tuple2f.html">Tuple2f</A>&nbsp;t1,                              <A HREF="../../javax/vecmath/Tuple2f.html">Tuple2f</A>&nbsp;t2,                              float&nbsp;alpha)</PRE><DL><DD>Linearly interpolates between tuples t1 and t2 and places the   result into this tuple:  this = (1-alpha)*t1 + alpha*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<DD><CODE>alpha</CODE> - the alpha interpolation parameter</DL></DD></DL><HR><A NAME="interpolate(javax.vecmath.Tuple2f, float)"><!-- --></A><H3>interpolate</H3><PRE>public final void <B>interpolate</B>(<A HREF="../../javax/vecmath/Tuple2f.html">Tuple2f</A>&nbsp;t1,                              float&nbsp;alpha)</PRE><DL><DD>Linearly interpolates between this tuple and tuple t1 and   places the result into this tuple:  this = (1-alpha)*this + alpha*t1.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t1</CODE> - the first tuple<DD><CODE>alpha</CODE> - the alpha interpolation parameter</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()</PRE><DL><DD>Creates a new object of the same class as this object.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a clone of this instance.<DT><B>Throws:</B><DD><CODE>java.lang.OutOfMemoryError</CODE> - if there is not enough memory.<DT><B>Since:</B><DD>Java 3D 1.3</DD></DD><DT><B>See Also:</B><DD><CODE>Cloneable</CODE></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../javax/vecmath/Tuple2d.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../javax/vecmath/Tuple3b.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Tuple2f.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

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