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

📄 boundingbox.html

📁 JAVA多媒体开发类库说明
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/BoundingBox.html#setLower(double, double, double)">setLower</A></B>(double&nbsp;xmin,         double&nbsp;ymin,         double&nbsp;zmin)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the lower corner of this bounding box.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/BoundingBox.html#setLower(javax.vecmath.Point3d)">setLower</A></B>(<A HREF="../../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A>&nbsp;p1)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the lower corner of this bounding box.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/BoundingBox.html#setUpper(double, double, double)">setUpper</A></B>(double&nbsp;xmax,         double&nbsp;ymax,         double&nbsp;zmax)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the upper corner of this bounding box.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/BoundingBox.html#setUpper(javax.vecmath.Point3d)">setUpper</A></B>(<A HREF="../../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A>&nbsp;p1)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the upper corner of this bounding box.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/BoundingBox.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of this class.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/BoundingBox.html#transform(javax.media.j3d.Bounds, javax.media.j3d.Transform3D)">transform</A></B>(<A HREF="../../../javax/media/j3d/Bounds.html" title="class in javax.media.j3d">Bounds</A>&nbsp;boundsObject,          <A HREF="../../../javax/media/j3d/Transform3D.html" title="class in javax.media.j3d">Transform3D</A>&nbsp;matrix)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Modifies the bounding box so that it bounds the volume generated by transforming the given bounding object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/BoundingBox.html#transform(javax.media.j3d.Transform3D)">transform</A></B>(<A HREF="../../../javax/media/j3d/Transform3D.html" title="class in javax.media.j3d">Transform3D</A>&nbsp;matrix)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Transforms this bounding box by the given matrix.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="BoundingBox(javax.vecmath.Point3d, javax.vecmath.Point3d)"><!-- --></A><H3>BoundingBox</H3><PRE>public <B>BoundingBox</B>(<A HREF="../../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A>&nbsp;lower,                   <A HREF="../../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A>&nbsp;upper)</PRE><DL><DD>Constructs and initializes a BoundingBox given min,max in x,y,z.<P><DL><DT><B>Parameters:</B><DD><CODE>lower</CODE> - the "small" corner<DD><CODE>upper</CODE> - the "large" corner</DL></DL><HR><A NAME="BoundingBox()"><!-- --></A><H3>BoundingBox</H3><PRE>public <B>BoundingBox</B>()</PRE><DL><DD>Constructs and initializes a 2X bounding box about the origin. The lower corner is initialized to (-1.0d, -1.0d, -1.0d) and the opper corner is initialized to (1.0d, 1.0d, 1.0d).<P></DL><HR><A NAME="BoundingBox(javax.media.j3d.Bounds)"><!-- --></A><H3>BoundingBox</H3><PRE>public <B>BoundingBox</B>(<A HREF="../../../javax/media/j3d/Bounds.html" title="class in javax.media.j3d">Bounds</A>&nbsp;boundsObject)</PRE><DL><DD>Constructs a BoundingBox from a  bounding object.<P><DL><DT><B>Parameters:</B><DD><CODE>boundsObject</CODE> - a bounds object</DL></DL><HR><A NAME="BoundingBox(javax.media.j3d.Bounds[])"><!-- --></A><H3>BoundingBox</H3><PRE>public <B>BoundingBox</B>(<A HREF="../../../javax/media/j3d/Bounds.html" title="class in javax.media.j3d">Bounds</A>[]&nbsp;bounds)</PRE><DL><DD>Constructs a BoundingBox from an array of bounding objects.<P><DL><DT><B>Parameters:</B><DD><CODE>bounds</CODE> - an array of bounding objects</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getLower(javax.vecmath.Point3d)"><!-- --></A><H3>getLower</H3><PRE>public void <B>getLower</B>(<A HREF="../../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A>&nbsp;p1)</PRE><DL><DD>Gets the lower corner of this bounding box.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>p1</CODE> - a Point to receive the lower corner of the bounding box</DL></DD></DL><HR><A NAME="setLower(double, double, double)"><!-- --></A><H3>setLower</H3><PRE>public void <B>setLower</B>(double&nbsp;xmin,                     double&nbsp;ymin,                     double&nbsp;zmin)</PRE><DL><DD>Sets the lower corner of this bounding box.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>xmin</CODE> - minimum x value of boundining box<DD><CODE>ymin</CODE> - minimum y value of boundining box<DD><CODE>zmin</CODE> - minimum z value of boundining box</DL></DD></DL><HR><A NAME="setLower(javax.vecmath.Point3d)"><!-- --></A><H3>setLower</H3><PRE>public void <B>setLower</B>(<A HREF="../../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A>&nbsp;p1)</PRE><DL><DD>Sets the lower corner of this bounding box.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>p1</CODE> - a Point defining the new lower corner of the bounding box</DL></DD></DL><HR><A NAME="getUpper(javax.vecmath.Point3d)"><!-- --></A><H3>getUpper</H3><PRE>public void <B>getUpper</B>(<A HREF="../../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A>&nbsp;p1)</PRE><DL><DD>Gets the upper corner of this bounding box.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>p1</CODE> - a Point to receive the upper corner of the bounding box</DL></DD></DL><HR><A NAME="setUpper(double, double, double)"><!-- --></A><H3>setUpper</H3><PRE>public void <B>setUpper</B>(double&nbsp;xmax,                     double&nbsp;ymax,                     double&nbsp;zmax)</PRE><DL><DD>Sets the upper corner of this bounding box.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>xmax</CODE> - max x value of boundining box<DD><CODE>ymax</CODE> - max y value of boundining box<DD><CODE>zmax</CODE> - max z value of boundining box</DL></DD></DL><HR><A NAME="setUpper(javax.vecmath.Point3d)"><!-- --></A><H3>setUpper</H3><PRE>public void <B>setUpper</B>(<A HREF="../../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A>&nbsp;p1)</PRE><DL><DD>Sets the upper corner of this bounding box.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>p1</CODE> - a Point defining the new upper corner of the bounding box</DL></DD></DL><HR><A NAME="set(javax.media.j3d.Bounds)"><!-- --></A><H3>set</H3><PRE>public void <B>set</B>(<A HREF="../../../javax/media/j3d/Bounds.html" title="class in javax.media.j3d">Bounds</A>&nbsp;boundsObject)</PRE><DL><DD>Sets the the value of this BoundingBox<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/media/j3d/Bounds.html#set(javax.media.j3d.Bounds)">set</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/Bounds.html" title="class in javax.media.j3d">Bounds</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>boundsObject</CODE> - another bounds object</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()</PRE><DL><DD>Creates a copy of this bounding box.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/media/j3d/Bounds.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/Bounds.html" title="class in javax.media.j3d">Bounds</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a new bounding box</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;bounds)</PRE><DL><DD>Indicates whether the specified <code>bounds</code> object is equal to this BoundingBox object.  They are equal if the specified <code>bounds</code> object is an instance of BoundingBox and all of the data members of <code>bounds</code> are equal to the corresponding data members in this BoundingBox.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/media/j3d/Bounds.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/Bounds.html" title="class in javax.media.j3d">Bounds</A></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 BoundingBox is equal to <code>bounds</code>; otherwise false<DT><B>Since:</B></DT>  <DD>Java 3D 1.2</DD></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 for this BoundingBox object based on the data values in this object.  Two different BoundingBox objects with identical data values (i.e., BoundingBox.equals returns true) will return the same hash code value.  Two BoundingBox objects with different data members may return the same hash code value, although this is not likely.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/media/j3d/Bounds.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/Bounds.html" title="class in javax.media.j3d">Bounds</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a hash code value for this BoundingBox object.<DT><B>Since:</B></DT>  <DD>Java 3D 1.2</DD></DL></DD></DL><HR><A NAME="combine(javax.media.j3d.Bounds)"><!-- --></A><H3>combine</H3><PRE>public void <B>combine</B>(<A HREF="../../../javax/media/j3d/Bounds.html" title="class in javax.media.j3d">Bounds</A>&nbsp;boundsObject)</PRE><DL><DD>Combines this bounding box with a bounding object   so that the resulting bounding box encloses the original bounding box and the specified bounds object.

⌨️ 快捷键说明

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