📄 vector2d.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Mon Jul 15 11:50:29 PDT 2002 --><TITLE>: Uses of Class quicktime.qd3d.math.Vector2D</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../quicktime/qd3d/math/Vector2D.html"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="Vector2D.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><CENTER><H2><B>Uses of Class<br>quicktime.qd3d.math.Vector2D</B></H2></CENTER><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Packages that use <A HREF="../../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="#quicktime.qd3d.math"><B>quicktime.qd3d.math</B></A></TD><TD> </TD></TR></TABLE> <P><A NAME="quicktime.qd3d.math"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A> in <A HREF="../../../../quicktime/qd3d/math/package-summary.html">quicktime.qd3d.math</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../quicktime/qd3d/math/package-summary.html">quicktime.qd3d.math</A> that return <A HREF="../../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A></CODE></FONT></TD><TD><CODE><B>Point2D.</B><B><A HREF="../../../../quicktime/qd3d/math/Point2D.html#subtract(quicktime.qd.QDPoint, quicktime.qd.QDPoint)">subtract</A></B>(<A HREF="../../../../quicktime/qd/QDPoint.html">QDPoint</A> p1, <A HREF="../../../../quicktime/qd/QDPoint.html">QDPoint</A> p2)</CODE><BR> Returns a two-dimensional vector that is the result of subtracting the point p2 from p1.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A></CODE></FONT></TD><TD><CODE><B>Vector2D.</B><B><A HREF="../../../../quicktime/qd3d/math/Vector2D.html#scale(float)">scale</A></B>(float scalar)</CODE><BR> Returns a two-dimensional vector that is the result of multiplying each of the components of this by the value of the scalar parameter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A></CODE></FONT></TD><TD><CODE><B>Vector2D.</B><B><A HREF="../../../../quicktime/qd3d/math/Vector2D.html#normalize()">normalize</A></B>()</CODE><BR> Returns the normalized form of the vector.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A></CODE></FONT></TD><TD><CODE><B>Vector2D.</B><B><A HREF="../../../../quicktime/qd3d/math/Vector2D.html#add(quicktime.qd3d.math.Vector2D)">add</A></B>(<A HREF="../../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A> v2)</CODE><BR> Returns the two-dimensional vector that is the sum of the two vectors this and v2.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A></CODE></FONT></TD><TD><CODE><B>Vector2D.</B><B><A HREF="../../../../quicktime/qd3d/math/Vector2D.html#subtract(quicktime.qd3d.math.Vector2D)">subtract</A></B>(<A HREF="../../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A> v2)</CODE><BR> Returns the two-dimensional vector that is the result of subtracting v2 from this.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../quicktime/qd3d/math/package-summary.html">quicktime.qd3d.math</A> with parameters of type <A HREF="../../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B>Vector3D.</B><B><A HREF="../../../../quicktime/qd3d/math/Vector3D.html#dot(quicktime.qd3d.math.Vector2D)">dot</A></B>(<A HREF="../../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A> v2)</CODE><BR> Returns the dot product of this vector and vector v2.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../quicktime/qd/QDPoint.html">QDPoint</A></CODE></FONT></TD><TD><CODE><B>Point2D.</B><B><A HREF="../../../../quicktime/qd3d/math/Point2D.html#add(quicktime.qd.QDPoint, quicktime.qd3d.math.Vector2D)">add</A></B>(<A HREF="../../../../quicktime/qd/QDPoint.html">QDPoint</A> point2D, <A HREF="../../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A> v)</CODE><BR> Returns the result of adding a two-dimensional vector to a two-dimensional point.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../quicktime/qd/QDPoint.html">QDPoint</A></CODE></FONT></TD><TD><CODE><B>Point2D.</B><B><A HREF="../../../../quicktime/qd3d/math/Point2D.html#subtract(quicktime.qd.QDPoint, quicktime.qd3d.math.Vector2D)">subtract</A></B>(<A HREF="../../../../quicktime/qd/QDPoint.html">QDPoint</A> point2D, <A HREF="../../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A> v)</CODE><BR> Returns the result of subtracting a two-dimensional vector from a two-dimensional point.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A></CODE></FONT></TD><TD><CODE><B>Vector2D.</B><B><A HREF="../../../../quicktime/qd3d/math/Vector2D.html#add(quicktime.qd3d.math.Vector2D)">add</A></B>(<A HREF="../../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A> v2)</CODE><BR> Returns the two-dimensional vector that is the sum of the two vectors this and v2.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A></CODE></FONT></TD><TD><CODE><B>Vector2D.</B><B><A HREF="../../../../quicktime/qd3d/math/Vector2D.html#subtract(quicktime.qd3d.math.Vector2D)">subtract</A></B>(<A HREF="../../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A> v2)</CODE><BR> Returns the two-dimensional vector that is the result of subtracting v2 from this.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B>Vector2D.</B><B><A HREF="../../../../quicktime/qd3d/math/Vector2D.html#cross(quicktime.qd3d.math.Vector2D)">cross</A></B>(<A HREF="../../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A> v2)</CODE><BR> Returns the cross product of this vector and vector v2.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B>Vector2D.</B><B><A HREF="../../../../quicktime/qd3d/math/Vector2D.html#dot(quicktime.qd3d.math.Vector2D)">dot</A></B>(<A HREF="../../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A> v2)</CODE><BR> Returns the dot product of this vector and vector v2.</TD></TR></TABLE> <P><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../quicktime/qd3d/math/Vector2D.html"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="Vector2D.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -