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

📄 vector3d.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR></TABLE><A NAME="kNativeSize"><!-- --></A><H3>kNativeSize</H3><PRE>public static final int <B>kNativeSize</B></PRE><DL><DD>This is the size (the number of bytes) that are required for this class</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="Vector3D()"><!-- --></A><H3>Vector3D</H3><PRE>public <B>Vector3D</B>()</PRE><DL><DD>Creates a Vector3D object containing no data.</DL><HR><A NAME="Vector3D(float, float, float)"><!-- --></A><H3>Vector3D</H3><PRE>public <B>Vector3D</B>(float&nbsp;x,                float&nbsp;y,                float&nbsp;z)</PRE><DL><DD>Creates a Vector3D object containing with given data.<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><!-- ============ 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="getEndianDescriptor()"><!-- --></A><H3>getEndianDescriptor</H3><PRE>public static final <A HREF="../../../quicktime/util/EndianDescriptor.html">EndianDescriptor</A> <B>getEndianDescriptor</B>()</PRE><DL><DD>Returns the EndianDescriptor for this class.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an EndianDescriptor</DL></DD></DL><HR><A NAME="getX()"><!-- --></A><H3>getX</H3><PRE>public float <B>getX</B>()</PRE><DL><DD>returns the position in the X direction<DD><DL></DL></DD></DL><HR><A NAME="getY()"><!-- --></A><H3>getY</H3><PRE>public float <B>getY</B>()</PRE><DL><DD>returns the position in the Y direction<DD><DL></DL></DD></DL><HR><A NAME="getZ()"><!-- --></A><H3>getZ</H3><PRE>public float <B>getZ</B>()</PRE><DL><DD>returns the position in the Z direction<DD><DL></DL></DD></DL><HR><A NAME="setX(float)"><!-- --></A><H3>setX</H3><PRE>public void <B>setX</B>(float&nbsp;x)</PRE><DL><DD>sets the position in the X direction<DD><DL></DL></DD></DL><HR><A NAME="setY(float)"><!-- --></A><H3>setY</H3><PRE>public void <B>setY</B>(float&nbsp;y)</PRE><DL><DD>sets the position in the Y direction<DD><DL></DL></DD></DL><HR><A NAME="setZ(float)"><!-- --></A><H3>setZ</H3><PRE>public void <B>setZ</B>(float&nbsp;z)</PRE><DL><DD>sets the position in the Z direction<DD><DL></DL></DD></DL><HR><A NAME="scale(float)"><!-- --></A><H3>scale</H3><PRE>public <A HREF="../../../quicktime/qd3d/math/Vector3D.html">Vector3D</A> <B>scale</B>(float&nbsp;scalar)</PRE><DL><DD>Returns a three-dimensional vector that is the result of multiplying each of the components of this by the value of the scalar parameter.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/QD3D/qd3dmathfunc.e.htm#pgfId=3508">QuickDraw3D::Q3Vector3D_Scale</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>scalar</CODE> - A floating-point number.<DT><B>Returns:</B><DD>a new scaled vector.</DL></DD></DL><HR><A NAME="length()"><!-- --></A><H3>length</H3><PRE>public float <B>length</B>()</PRE><DL><DD>Returns the length of a three-dimensional vector.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/QD3D/qd3dmathfunc.f.htm#pgfId=3529">QuickDraw3D::Q3Vector3D_Length</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the length of the vector.</DL></DD></DL><HR><A NAME="normalize()"><!-- --></A><H3>normalize</H3><PRE>public <A HREF="../../../quicktime/qd3d/math/Vector3D.html">Vector3D</A> <B>normalize</B>()</PRE><DL><DD>Returns the normalized form of the vector.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/QD3D/qd3dmathfunc.10.htm#pgfId=3549">QuickDraw3D::Q3Vector3D_Normalize</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the normalized form of the vector</DL></DD></DL><HR><A NAME="add(quicktime.qd3d.math.Vector3D)"><!-- --></A><H3>add</H3><PRE>public <A HREF="../../../quicktime/qd3d/math/Vector3D.html">Vector3D</A> <B>add</B>(<A HREF="../../../quicktime/qd3d/math/Vector3D.html">Vector3D</A>&nbsp;v2)</PRE><DL><DD>Returns the three-dimensional vector that is the sum of the two vectors this and v2.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/QD3D/qd3dmathfunc.11.htm#pgfId=3571">QuickDraw3D::Q3Vector3D_Add</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v2</CODE> - A three-dimensional vector.<DT><B>Returns:</B><DD>the sum of v1 and v2.</DL></DD></DL><HR><A NAME="subtract(quicktime.qd3d.math.Vector3D)"><!-- --></A><H3>subtract</H3><PRE>public <A HREF="../../../quicktime/qd3d/math/Vector3D.html">Vector3D</A> <B>subtract</B>(<A HREF="../../../quicktime/qd3d/math/Vector3D.html">Vector3D</A>&nbsp;v2)</PRE><DL><DD>Returns the three-dimensional vector that is the result of subtracting v2 from this.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/QD3D/qd3dmathfunc.11.htm#pgfId=3587">QuickDraw3D::Q3Vector3D_Subtract</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v2</CODE> - A three-dimensional vector.<DT><B>Returns:</B><DD>the result of subtracting v2 from this.</DL></DD></DL><HR><A NAME="cross(quicktime.qd3d.math.Vector3D)"><!-- --></A><H3>cross</H3><PRE>public <A HREF="../../../quicktime/qd3d/math/Vector3D.html">Vector3D</A> <B>cross</B>(<A HREF="../../../quicktime/qd3d/math/Vector3D.html">Vector3D</A>&nbsp;v2)</PRE><DL><DD>Returns the cross product of this vector and vector v2.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/QD3D/qd3dmathfunc.12.htm#pgfId=3609">QuickDraw3D::Q3Vector3D_Cross</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v2</CODE> - A two-dimensional vector.<DT><B>Returns:</B><DD>a vector</DL></DD></DL><HR><A NAME="dot(quicktime.qd3d.math.Vector2D)"><!-- --></A><H3>dot</H3><PRE>public float <B>dot</B>(<A HREF="../../../quicktime/qd3d/math/Vector2D.html">Vector2D</A>&nbsp;v2)</PRE><DL><DD>Returns the dot product of this vector and vector v2.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/QD3D/qd3dmathfunc.13.htm#pgfId=3640">QuickDraw3D::Q3Vector3D_Dot</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v2</CODE> - A two-dimensional vector.<DT><B>Returns:</B><DD>a vector</DL></DD></DL><HR><A NAME="transformQuaternion(quicktime.qd3d.math.Quaternion)"><!-- --></A><H3>transformQuaternion</H3><PRE>public <A HREF="../../../quicktime/qd3d/math/Vector3D.html">Vector3D</A> <B>transformQuaternion</B>(<A HREF="../../../quicktime/qd3d/math/Quaternion.html">Quaternion</A>&nbsp;quaternion)</PRE><DL><DD>Return a three-dimensional vector that is the result of transforming the vector specified by the vector parameter using the quaternion specified by the quaternion parameter.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/QD3D/qd3dmathfunc.1b.htm#pgfId=3691">QuickDraw3D::Q3Vector3D_TransformQuaternion</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>quaternion</CODE> - A quaternion.<DT><B>Returns:</B><DD>a three-dimensional vector</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()</PRE><DL><DD>Returns a copy of this class.<DD><DL></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 representation of this object.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../quicktime/util/QTByteObject.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../quicktime/util/QTByteObject.html">QTByteObject</A></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=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>&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="class-use/Vector3D.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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="../../../quicktime/qd3d/math/Vector2D.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Vector3D.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&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 + -