📄 hirescoord.html
字号:
<A NAME="HiResCoord(javax.media.j3d.HiResCoord)"><!-- --></A><H3>HiResCoord</H3><PRE>public <B>HiResCoord</B>(<A HREF="../../../javax/media/j3d/HiResCoord.html">HiResCoord</A> hc)</PRE><DL><DD>Constructs and initializes a new HiResCoord using the values provided in the argument. The HiResCoord represents 768 bits of floating point 3-Space.<P><DT><B>Parameters:</B><DD><CODE>hc</CODE> - the HiResCoord to copy</DL><HR><A NAME="HiResCoord()"><!-- --></A><H3>HiResCoord</H3><PRE>public <B>HiResCoord</B>()</PRE><DL><DD>Constructs and initializes a new HiResCoord located at (0, 0, 0). The HiResCoord represents 768 bits of floating point 3-Space.<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="setHiResCoord(int[], int[], int[])"><!-- --></A><H3>setHiResCoord</H3><PRE>public void <B>setHiResCoord</B>(int[] X, int[] Y, int[] Z)</PRE><DL><DD>Sets this HiResCoord to the location specified by the parameters provided.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>X</CODE> - an eight-element array specifying the x position<DD><CODE>Y</CODE> - an eight-element array specifying the y position<DD><CODE>Z</CODE> - an eight-element array specifying the z position</DL></DD></DL><HR><A NAME="setHiResCoord(javax.media.j3d.HiResCoord)"><!-- --></A><H3>setHiResCoord</H3><PRE>public void <B>setHiResCoord</B>(<A HREF="../../../javax/media/j3d/HiResCoord.html">HiResCoord</A> hires)</PRE><DL><DD>Sets this HiResCoord to the location specified by the hires provided.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>hires</CODE> - the hires coordinate to copy</DL></DD></DL><HR><A NAME="setHiResCoordX(int[])"><!-- --></A><H3>setHiResCoordX</H3><PRE>public void <B>setHiResCoordX</B>(int[] X)</PRE><DL><DD>Sets this HiResCoord's X value to that specified by the argument.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>X</CODE> - an eight-element array specifying the x position</DL></DD></DL><HR><A NAME="setHiResCoordY(int[])"><!-- --></A><H3>setHiResCoordY</H3><PRE>public void <B>setHiResCoordY</B>(int[] Y)</PRE><DL><DD>Sets this HiResCoord's Y value to that specified by the argument.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>Y</CODE> - an eight-element array specifying the y position</DL></DD></DL><HR><A NAME="setHiResCoordZ(int[])"><!-- --></A><H3>setHiResCoordZ</H3><PRE>public void <B>setHiResCoordZ</B>(int[] Z)</PRE><DL><DD>Sets this HiResCoord's Z value to that specified by the argument.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>Z</CODE> - an eight-element array specifying the z position</DL></DD></DL><HR><A NAME="getHiResCoord(int[], int[], int[])"><!-- --></A><H3>getHiResCoord</H3><PRE>public void <B>getHiResCoord</B>(int[] X, int[] Y, int[] Z)</PRE><DL><DD>Retrieves this HiResCoord's location and saves the coordinates in the specified arrays. The arrays must be large enough to hold all of the ints.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>X</CODE> - an eight element array that will receive the x position<DD><CODE>Y</CODE> - an eight element array that will receive the y position<DD><CODE>Z</CODE> - an eight element array that will receive the z position</DL></DD></DL><HR><A NAME="getHiResCoord(javax.media.j3d.HiResCoord)"><!-- --></A><H3>getHiResCoord</H3><PRE>public void <B>getHiResCoord</B>(<A HREF="../../../javax/media/j3d/HiResCoord.html">HiResCoord</A> hc)</PRE><DL><DD>Retrieves this HiResCoord's location and places it into the hires argument.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>hc</CODE> - the hires coordinate that will receive this node's location</DL></DD></DL><HR><A NAME="getHiResCoordX(int[])"><!-- --></A><H3>getHiResCoordX</H3><PRE>public void <B>getHiResCoordX</B>(int[] X)</PRE><DL><DD>Retrieves this HiResCoord's X value and stores it in the specified array. The array must be large enough to hold all of the ints.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>X</CODE> - an eight-element array that will receive the x position</DL></DD></DL><HR><A NAME="getHiResCoordY(int[])"><!-- --></A><H3>getHiResCoordY</H3><PRE>public void <B>getHiResCoordY</B>(int[] Y)</PRE><DL><DD>Retrieves this HiResCoord's Y value and stores it in the specified array. The array must be large enough to hold all of the ints.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>Y</CODE> - an eight-element array that will receive the y position</DL></DD></DL><HR><A NAME="getHiResCoordZ(int[])"><!-- --></A><H3>getHiResCoordZ</H3><PRE>public void <B>getHiResCoordZ</B>(int[] Z)</PRE><DL><DD>Retrieves this HiResCoord's Z value and stores it in the specified array. The array must be large enough to hold all of the ints.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>Z</CODE> - an eight-element array that will receive the z position</DL></DD></DL><HR><A NAME="equals(javax.media.j3d.HiResCoord)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="../../../javax/media/j3d/HiResCoord.html">HiResCoord</A> h1)</PRE><DL><DD>Compares the specified HiResCoord to this HiResCoord.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>h1</CODE> - the second HiResCoord<DT><B>Returns:</B><DD>true if equal, false if not equal</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object o1)</PRE><DL><DD>Returns true if the Object o1 is of type HiResCoord and all of the data members of o1 are equal to the corresponding data members in this HiResCoord.<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>o1</CODE> - the second HiResCoord<DT><B>Returns:</B><DD>true if equal, false if not equal</DL></DD></DL><HR><A NAME="add(javax.media.j3d.HiResCoord, javax.media.j3d.HiResCoord)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(<A HREF="../../../javax/media/j3d/HiResCoord.html">HiResCoord</A> h1, <A HREF="../../../javax/media/j3d/HiResCoord.html">HiResCoord</A> h2)</PRE><DL><DD>Adds two HiResCoords placing the results into this HiResCoord.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>h1</CODE> - the first HiResCoord<DD><CODE>h2</CODE> - the second HiResCoord</DL></DD></DL><HR><A NAME="sub(javax.media.j3d.HiResCoord, javax.media.j3d.HiResCoord)"><!-- --></A><H3>sub</H3><PRE>public void <B>sub</B>(<A HREF="../../../javax/media/j3d/HiResCoord.html">HiResCoord</A> h1, <A HREF="../../../javax/media/j3d/HiResCoord.html">HiResCoord</A> h2)</PRE><DL><DD>Subtracts two HiResCoords placing the results into this HiResCoord.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>h1</CODE> - the first HiResCoord<DD><CODE>h2</CODE> - the second HiResCoord</DL></DD></DL><HR><A NAME="negate(javax.media.j3d.HiResCoord)"><!-- --></A><H3>negate</H3><PRE>public void <B>negate</B>(<A HREF="../../../javax/media/j3d/HiResCoord.html">HiResCoord</A> h1)</PRE><DL><DD>Negates the specified HiResCoords and places the results into this HiResCoord.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>h1</CODE> - the source HiResCoord</DL></DD></DL><HR><A NAME="negate()"><!-- --></A><H3>negate</H3><PRE>public void <B>negate</B>()</PRE><DL><DD>Negates this HiResCoord<P><DD><DL></DL></DD></DL><HR><A NAME="scale(int, javax.media.j3d.HiResCoord)"><!-- --></A><H3>scale</H3><PRE>public void <B>scale</B>(int scale, <A HREF="../../../javax/media/j3d/HiResCoord.html">HiResCoord</A> h1)</PRE><DL><DD>Scales the specified HiResCoords by the specified value and places the results into this HiResCoord.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>scale</CODE> - the amount to scale the specified HiResCoord<DD><CODE>h1</CODE> - the source HiResCoord</DL></DD></DL><HR><A NAME="scale(int)"><!-- --></A><H3>scale</H3><PRE>public void <B>scale</B>(int scale)</PRE><DL><DD>Scales this HiResCoord by the specified value.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>scale</CODE> - the amount to scale the specified HiResCoord</DL></DD></DL><HR><A NAME="difference(javax.media.j3d.HiResCoord, javax.vecmath.Vector3d)"><!-- --></A><H3>difference</H3><PRE>public void <B>difference</B>(<A HREF="../../../javax/media/j3d/HiResCoord.html">HiResCoord</A> h1, <A HREF="../../../javax/vecmath/Vector3d.html">Vector3d</A> v)</PRE><DL><DD>Subtracts the specified HiResCoord from this HiResCoord placing the difference vector into the specified double-precision vector.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>h1</CODE> - the HiResCoord to be subtracted from this<DD><CODE>v</CODE> - the vector that will receive the result</DL></DD></DL><HR><A NAME="distance(javax.media.j3d.HiResCoord)"><!-- --></A><H3>distance</H3><PRE>public double <B>distance</B>(<A HREF="../../../javax/media/j3d/HiResCoord.html">HiResCoord</A> h1)</PRE><DL><DD>The floating point distance between the specified HiResCoord and this HiResCoord.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>h1</CODE> - the second HiResCoord</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</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"> <A HREF="../../../javax/media/j3d/Group.html"><B>PREV CLASS</B></A> <A HREF="../../../javax/media/j3d/ImageComponent.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> <A HREF="HiResCoord.html" TARGET="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -