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

📄 bounds.html

📁 java 3d帮助文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
equals</H3><PRE>public abstract boolean <B>equals</B>(java.lang.Object&nbsp;bounds)</PRE><DL><DD>Indicates whether the specified <code>bounds</code> object is equal to this Bounds object.  They are equal if both the specified <code>bounds</code> object and this Bounds are instances of the same Bounds subclass and all of the data members of <code>bounds</code> are equal to the corresponding data members in this Bounds.<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>bounds</CODE> - the object with which the comparison is made.<DT><B>Returns:</B><DD>true if this Bounds object is equal to <code>bounds</code>; otherwise false<DT><B>Since:</B><DD>Java 3D 1.2</DD></DD></DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public abstract int <B>hashCode</B>()</PRE><DL><DD>Returns a hash code for this Bounds object based on the data values in this object.  Two different Bounds objects of the same type with identical data values (i.e., Bounds.equals returns true) will return the same hash code.  Two Bounds objects with different data members may return the same hash code 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>a hash code for this Bounds object.<DT><B>Since:</B><DD>Java 3D 1.2</DD></DD></DL></DD></DL><HR><A NAME="intersect(javax.vecmath.Point3d, javax.vecmath.Vector3d)"><!-- --></A><H3>intersect</H3><PRE>public abstract boolean <B>intersect</B>(<A HREF="../../../javax/vecmath/Point3d.html">Point3d</A>&nbsp;origin,                                  <A HREF="../../../javax/vecmath/Vector3d.html">Vector3d</A>&nbsp;direction)</PRE><DL><DD>Test for intersection with a ray.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>origin</CODE> - the starting point of the ray<DD><CODE>direction</CODE> - the direction of the ray<DT><B>Returns:</B><DD>true or false indicating if an intersection occured</DL></DD></DL><HR><A NAME="intersect(javax.vecmath.Point3d)"><!-- --></A><H3>intersect</H3><PRE>public abstract boolean <B>intersect</B>(<A HREF="../../../javax/vecmath/Point3d.html">Point3d</A>&nbsp;point)</PRE><DL><DD>Test for intersection with a point.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>point</CODE> - a point defining a position in 3-space<DT><B>Returns:</B><DD>true or false indicating if an intersection occured</DL></DD></DL><HR><A NAME="intersect(javax.media.j3d.Bounds)"><!-- --></A><H3>intersect</H3><PRE>public abstract boolean <B>intersect</B>(<A HREF="../../../javax/media/j3d/Bounds.html">Bounds</A>&nbsp;boundsObject)</PRE><DL><DD>Test for intersection with another bounds object.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>boundsObject</CODE> - another bounds object<DT><B>Returns:</B><DD>true or false indicating if an intersection occurred</DL></DD></DL><HR><A NAME="intersect(javax.media.j3d.Bounds[])"><!-- --></A><H3>intersect</H3><PRE>public abstract boolean <B>intersect</B>(<A HREF="../../../javax/media/j3d/Bounds.html">Bounds</A>[]&nbsp;boundsObjects)</PRE><DL><DD>Test for intersection with another bounds object.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>boundsObjects</CODE> - an array of bounding objects<DT><B>Returns:</B><DD>true or false indicating if an intersection occured</DL></DD></DL><HR><A NAME="closestIntersection(javax.media.j3d.Bounds[])"><!-- --></A><H3>closestIntersection</H3><PRE>public abstract <A HREF="../../../javax/media/j3d/Bounds.html">Bounds</A> <B>closestIntersection</B>(<A HREF="../../../javax/media/j3d/Bounds.html">Bounds</A>[]&nbsp;boundsObjects)</PRE><DL><DD>Finds closest bounding object that intersects this bounding object.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>boundsObjects</CODE> - an array of  bounds objects<DT><B>Returns:</B><DD>closest bounding object</DL></DD></DL><HR><A NAME="combine(javax.media.j3d.Bounds)"><!-- --></A><H3>combine</H3><PRE>public abstract void <B>combine</B>(<A HREF="../../../javax/media/j3d/Bounds.html">Bounds</A>&nbsp;boundsObject)</PRE><DL><DD>Combines this bounding object with a bounding object so that the resulting bounding object encloses the original bounding object and the given bounds object.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>boundsObject</CODE> - another bounds object</DL></DD></DL><HR><A NAME="combine(javax.media.j3d.Bounds[])"><!-- --></A><H3>combine</H3><PRE>public abstract void <B>combine</B>(<A HREF="../../../javax/media/j3d/Bounds.html">Bounds</A>[]&nbsp;boundsObjects)</PRE><DL><DD>Combines this bounding object with an array of bounding objects so that the resulting bounding object encloses the original bounding object and the given array of bounds object.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>boundsObjects</CODE> - an array of bounds objects</DL></DD></DL><HR><A NAME="combine(javax.vecmath.Point3d)"><!-- --></A><H3>combine</H3><PRE>public abstract void <B>combine</B>(<A HREF="../../../javax/vecmath/Point3d.html">Point3d</A>&nbsp;point)</PRE><DL><DD>Combines this bounding object with a point.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>point</CODE> - a 3d point in space</DL></DD></DL><HR><A NAME="combine(javax.vecmath.Point3d[])"><!-- --></A><H3>combine</H3><PRE>public abstract void <B>combine</B>(<A HREF="../../../javax/vecmath/Point3d.html">Point3d</A>[]&nbsp;points)</PRE><DL><DD>Combines this bounding object with an array of points.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>points</CODE> - an array of 3d points in space</DL></DD></DL><HR><A NAME="transform(javax.media.j3d.Transform3D)"><!-- --></A><H3>transform</H3><PRE>public abstract void <B>transform</B>(<A HREF="../../../javax/media/j3d/Transform3D.html">Transform3D</A>&nbsp;trans)</PRE><DL><DD>Transforms this bounding object by the given matrix.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>trans</CODE> - the transformation matrix</DL></DD></DL><HR><A NAME="transform(javax.media.j3d.Bounds, javax.media.j3d.Transform3D)"><!-- --></A><H3>transform</H3><PRE>public abstract void <B>transform</B>(<A HREF="../../../javax/media/j3d/Bounds.html">Bounds</A>&nbsp;bounds,                               <A HREF="../../../javax/media/j3d/Transform3D.html">Transform3D</A>&nbsp;trans)</PRE><DL><DD>Modifies the bounding object so that it bounds the volume generated by transforming the given bounding object.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>bounds</CODE> - the bounding object to be transformed<DD><CODE>trans</CODE> - the transformation matrix</DL></DD></DL><HR><A NAME="isEmpty()"><!-- --></A><H3>isEmpty</H3><PRE>public abstract boolean <B>isEmpty</B>()</PRE><DL><DD>Tests whether the bounds is empty.  A bounds is empty if it is null (either by construction or as the result of a null intersection) or if its volume is negative.  A bounds with a volume of zero is <i>not</i> empty.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the bounds is empty; otherwise, it returns false</DL></DD></DL><HR><A NAME="set(javax.media.j3d.Bounds)"><!-- --></A><H3>set</H3><PRE>public abstract void <B>set</B>(<A HREF="../../../javax/media/j3d/Bounds.html">Bounds</A>&nbsp;boundsObject)</PRE><DL><DD>Sets the value of this Bounds object.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>boundsObject</CODE> - another bounds object.</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/media/j3d/BoundingSphere.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/media/j3d/BranchGroup.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="Bounds.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;FIELD&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;FIELD&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 + -