2013-06-13 19:57:30 +02:00

878 lines
40 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Sun Apr 15 20:18:21 CEST 2012 -->
<TITLE>
BoundingBox
</TITLE>
<META NAME="date" CONTENT="2012-04-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="BoundingBox";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<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/BoundingBox.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-files/index-1.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;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?Microsoft/Xna/Framework/BoundingBox.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="BoundingBox.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&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>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
Microsoft.Xna.Framework</FONT>
<BR>
Class BoundingBox</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../System/ValueType.html" title="class in System">System.ValueType</A>
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>Microsoft.Xna.Framework.BoundingBox</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../System/IEquatable.html" title="interface in System">IEquatable</A>&lt;<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&gt;</DD>
</DL>
<HR>
<DL>
<DT><PRE>public final class <B>BoundingBox</B><DT>extends <A HREF="../../../System/ValueType.html" title="class in System">ValueType</A><DT>implements <A HREF="../../../System/IEquatable.html" title="interface in System">IEquatable</A>&lt;<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&gt;</DL>
</PRE>
<P>
Defines an axis-aligned box-shaped 3D volume.
<P>
<P>
<DL>
<DT><B>Author:</B></DT>
<DD>Halofreak1990</DD>
</DL>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html#CornerCount">CornerCount</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specifies the total number of corners (8) in the BoundingBox.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html#Max">Max</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The maximum point the BoundingBox contains.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html#Min">Min</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The minimum point the BoundingBox contains.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html#BoundingBox()">BoundingBox</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an instance of BoundingBox.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html#BoundingBox(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)">BoundingBox</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A>&nbsp;min,
<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A>&nbsp;max)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an instance of BoundingBox.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../Microsoft/Xna/Framework/ContainmentType.html" title="enum in Microsoft.Xna.Framework">ContainmentType</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html#Contains(Microsoft.Xna.Framework.BoundingBox)">Contains</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;box)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests whether the BoundingBox contains another BoundingBox.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../Microsoft/Xna/Framework/ContainmentType.html" title="enum in Microsoft.Xna.Framework">ContainmentType</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html#Contains(Microsoft.Xna.Framework.BoundingSphere)">Contains</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;sphere)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests whether the BoundingBox contains a BoundingSphere.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../Microsoft/Xna/Framework/ContainmentType.html" title="enum in Microsoft.Xna.Framework">ContainmentType</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html#Contains(Microsoft.Xna.Framework.Vector3)">Contains</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A>&nbsp;point)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests whether the BoundingBox contains a point.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html#CreateFromSphere(Microsoft.Xna.Framework.BoundingSphere)">CreateFromSphere</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;sphere)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates the smallest BoundingBox that will contain the specified BoundingSphere.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html#CreateFromSphere(Microsoft.Xna.Framework.BoundingSphere, Microsoft.Xna.Framework.BoundingBox)">CreateFromSphere</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;sphere,
<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;result)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates the smallest BoundingBox that will contain the specified BoundingSphere.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html#CreateMerged(Microsoft.Xna.Framework.BoundingBox, Microsoft.Xna.Framework.BoundingBox)">CreateMerged</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;original,
<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;additional)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates the smallest BoundingBox that contains the two specified BoundingBox instances.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html#CreateMerged(Microsoft.Xna.Framework.BoundingBox, Microsoft.Xna.Framework.BoundingBox, Microsoft.Xna.Framework.BoundingBox)">CreateMerged</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;original,
<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;additional,
<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;result)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates the smallest BoundingBox that contains the two specified BoundingBox instances.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html#Equals(Microsoft.Xna.Framework.BoundingBox)">Equals</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;other)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines whether two instances of BoundingBox are equal.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;obj)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines whether two instances of BoundingBox are equal.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html#GetCorners()">GetCorners</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets an array of points that make up the corners of the BoundingBox.</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="../../../Microsoft/Xna/Framework/BoundingBox.html#GetCorners(Microsoft.Xna.Framework.Vector3[])">GetCorners</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A>[]&nbsp;corners)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines an axis-aligned box-shaped 3D volume.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html#hashCode()">hashCode</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the hash code for this instance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html#Intersects(Microsoft.Xna.Framework.BoundingBox)">Intersects</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;box)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether the current BoundingBox intersects another BoundingBox.</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="../../../Microsoft/Xna/Framework/BoundingBox.html#Intersects(Microsoft.Xna.Framework.BoundingBox, boolean)">Intersects</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;box,
boolean&nbsp;result)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether the current BoundingBox intersects another BoundingBox.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html#Intersects(Microsoft.Xna.Framework.BoundingSphere)">Intersects</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;sphere)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether the current BoundingBox intersects a BoundingSphere.</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="../../../Microsoft/Xna/Framework/BoundingBox.html#Intersects(Microsoft.Xna.Framework.BoundingSphere, boolean)">Intersects</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;sphere,
boolean&nbsp;result)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether the current BoundingBox intersects a BoundingSphere.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../Microsoft/Xna/Framework/PlaneIntersectionType.html" title="enum in Microsoft.Xna.Framework">PlaneIntersectionType</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html#Intersects(Microsoft.Xna.Framework.Plane)">Intersects</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A>&nbsp;plane)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether the current BoundingBox intersects a Plane.</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="../../../Microsoft/Xna/Framework/BoundingBox.html#Intersects(Microsoft.Xna.Framework.Plane, Microsoft.Xna.Framework.PlaneIntersectionType)">Intersects</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A>&nbsp;plane,
<A HREF="../../../Microsoft/Xna/Framework/PlaneIntersectionType.html" title="enum in Microsoft.Xna.Framework">PlaneIntersectionType</A>&nbsp;result)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether the current BoundingBox intersects a Plane.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html#Intersects(Microsoft.Xna.Framework.Ray)">Intersects</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Ray.html" title="class in Microsoft.Xna.Framework">Ray</A>&nbsp;ray)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether the current BoundingBox intersects a Ray.</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="../../../Microsoft/Xna/Framework/BoundingBox.html#Intersects(Microsoft.Xna.Framework.Ray, java.lang.Float)">Intersects</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Ray.html" title="class in Microsoft.Xna.Framework">Ray</A>&nbsp;ray,
java.lang.Float&nbsp;result)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether the current BoundingBox intersects a Ray.</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="../../../Microsoft/Xna/Framework/BoundingBox.html#toString()">toString</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a String that represents the current BoundingBox.</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>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_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>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="CornerCount"><!-- --></A><H3>
CornerCount</H3>
<PRE>
public final int <B>CornerCount</B></PRE>
<DL>
<DD>Specifies the total number of corners (8) in the BoundingBox.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#Microsoft.Xna.Framework.BoundingBox.CornerCount">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="Max"><!-- --></A><H3>
Max</H3>
<PRE>
public <A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> <B>Max</B></PRE>
<DL>
<DD>The maximum point the BoundingBox contains.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="Min"><!-- --></A><H3>
Min</H3>
<PRE>
public <A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> <B>Min</B></PRE>
<DL>
<DD>The minimum point the BoundingBox contains.
<P>
<DL>
</DL>
</DL>
<!-- ========= 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(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)"><!-- --></A><H3>
BoundingBox</H3>
<PRE>
public <B>BoundingBox</B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A>&nbsp;min,
<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A>&nbsp;max)</PRE>
<DL>
<DD>Creates an instance of BoundingBox.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>min</CODE> - The minimum point the BoundingBox includes.<DD><CODE>max</CODE> - The maximum point the BoundingBox includes.</DL>
</DL>
<HR>
<A NAME="BoundingBox()"><!-- --></A><H3>
BoundingBox</H3>
<PRE>
public <B>BoundingBox</B>()</PRE>
<DL>
<DD>Creates an instance of BoundingBox.
<P>
</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="Contains(Microsoft.Xna.Framework.BoundingBox)"><!-- --></A><H3>
Contains</H3>
<PRE>
public <A HREF="../../../Microsoft/Xna/Framework/ContainmentType.html" title="enum in Microsoft.Xna.Framework">ContainmentType</A> <B>Contains</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;box)</PRE>
<DL>
<DD>Tests whether the BoundingBox contains another BoundingBox.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>box</CODE> - The BoundingBox to test for overlap.</DL>
</DD>
</DL>
<HR>
<A NAME="Contains(Microsoft.Xna.Framework.BoundingSphere)"><!-- --></A><H3>
Contains</H3>
<PRE>
public <A HREF="../../../Microsoft/Xna/Framework/ContainmentType.html" title="enum in Microsoft.Xna.Framework">ContainmentType</A> <B>Contains</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;sphere)</PRE>
<DL>
<DD>Tests whether the BoundingBox contains a BoundingSphere.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sphere</CODE> - The BoundingSphere to test for overlap.</DL>
</DD>
</DL>
<HR>
<A NAME="Contains(Microsoft.Xna.Framework.Vector3)"><!-- --></A><H3>
Contains</H3>
<PRE>
public <A HREF="../../../Microsoft/Xna/Framework/ContainmentType.html" title="enum in Microsoft.Xna.Framework">ContainmentType</A> <B>Contains</B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A>&nbsp;point)</PRE>
<DL>
<DD>Tests whether the BoundingBox contains a point.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>point</CODE> - The point to test for overlap.</DL>
</DD>
</DL>
<HR>
<A NAME="CreateFromSphere(Microsoft.Xna.Framework.BoundingSphere)"><!-- --></A><H3>
CreateFromSphere</H3>
<PRE>
public static <A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A> <B>CreateFromSphere</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;sphere)</PRE>
<DL>
<DD>Creates the smallest BoundingBox that will contain the specified BoundingSphere.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sphere</CODE> - The BoundingSphere to contain.</DL>
</DD>
</DL>
<HR>
<A NAME="CreateFromSphere(Microsoft.Xna.Framework.BoundingSphere, Microsoft.Xna.Framework.BoundingBox)"><!-- --></A><H3>
CreateFromSphere</H3>
<PRE>
public static void <B>CreateFromSphere</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;sphere,
<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;result)</PRE>
<DL>
<DD>Creates the smallest BoundingBox that will contain the specified BoundingSphere.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sphere</CODE> - The BoundingSphere to contain.<DD><CODE>result</CODE> - [OutAttribute] The created BoundingBox.</DL>
</DD>
</DL>
<HR>
<A NAME="CreateMerged(Microsoft.Xna.Framework.BoundingBox, Microsoft.Xna.Framework.BoundingBox)"><!-- --></A><H3>
CreateMerged</H3>
<PRE>
public static <A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A> <B>CreateMerged</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;original,
<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;additional)</PRE>
<DL>
<DD>Creates the smallest BoundingBox that contains the two specified BoundingBox instances.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>original</CODE> - One of the BoundingBoxs to contain.<DD><CODE>additional</CODE> - One of the BoundingBoxs to contain.</DL>
</DD>
</DL>
<HR>
<A NAME="CreateMerged(Microsoft.Xna.Framework.BoundingBox, Microsoft.Xna.Framework.BoundingBox, Microsoft.Xna.Framework.BoundingBox)"><!-- --></A><H3>
CreateMerged</H3>
<PRE>
public static void <B>CreateMerged</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;original,
<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;additional,
<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;result)</PRE>
<DL>
<DD>Creates the smallest BoundingBox that contains the two specified BoundingBox instances.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>original</CODE> - One of the BoundingBoxs to contain.<DD><CODE>additional</CODE> - One of the BoundingBoxs to contain.<DD><CODE>result</CODE> - [OutAttribute] The created BoundingBox.</DL>
</DD>
</DL>
<HR>
<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <B>equals</B>(java.lang.Object&nbsp;obj)</PRE>
<DL>
<DD>Determines whether two instances of BoundingBox are equal.
<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>obj</CODE> - The Object to compare with the current BoundingBox.
<DT><B>Returns:</B><DD>true if the specified Object is equal to the current BoundingBox; false otherwise.</DL>
</DD>
</DL>
<HR>
<A NAME="Equals(Microsoft.Xna.Framework.BoundingBox)"><!-- --></A><H3>
Equals</H3>
<PRE>
public boolean <B>Equals</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;other)</PRE>
<DL>
<DD>Determines whether two instances of BoundingBox are equal.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../System/IEquatable.html#Equals(T)">Equals</A></CODE> in interface <CODE><A HREF="../../../System/IEquatable.html" title="interface in System">IEquatable</A>&lt;<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&gt;</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>other</CODE> - The BoundingBox to compare with the current BoundingBox.
<DT><B>Returns:</B><DD>true if the specified BoundingBox is equal to the current BoundingBox; false otherwise.</DL>
</DD>
</DL>
<HR>
<A NAME="GetCorners()"><!-- --></A><H3>
GetCorners</H3>
<PRE>
public <A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A>[] <B>GetCorners</B>()</PRE>
<DL>
<DD>Gets an array of points that make up the corners of the BoundingBox.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>An array of Vector3 points that represent the corners of the BoundingBox.</DL>
</DD>
</DL>
<HR>
<A NAME="GetCorners(Microsoft.Xna.Framework.Vector3[])"><!-- --></A><H3>
GetCorners</H3>
<PRE>
public void <B>GetCorners</B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A>[]&nbsp;corners)</PRE>
<DL>
<DD>Defines an axis-aligned box-shaped 3D volume.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>corners</CODE> - An existing array of at least 8 Vector3 points where the corners of the BoundingBox are written.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../System/ArgumentNullException.html" title="class in System">ArgumentNullException</A></CODE>
<DD><CODE><A HREF="../../../System/ArgumentOutOfRangeException.html" title="class in System">ArgumentOutOfRangeException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="hashCode()"><!-- --></A><H3>
hashCode</H3>
<PRE>
public int <B>hashCode</B>()</PRE>
<DL>
<DD>Gets the hash code for this instance.
<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 the current BoundingBox.</DL>
</DD>
</DL>
<HR>
<A NAME="Intersects(Microsoft.Xna.Framework.BoundingBox)"><!-- --></A><H3>
Intersects</H3>
<PRE>
public boolean <B>Intersects</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;box)</PRE>
<DL>
<DD>Checks whether the current BoundingBox intersects another BoundingBox.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>box</CODE> - The BoundingBox to check for intersection with.
<DT><B>Returns:</B><DD>true if the BoundingBoxs intersect; false otherwise.</DL>
</DD>
</DL>
<HR>
<A NAME="Intersects(Microsoft.Xna.Framework.BoundingSphere)"><!-- --></A><H3>
Intersects</H3>
<PRE>
public boolean <B>Intersects</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;sphere)</PRE>
<DL>
<DD>Checks whether the current BoundingBox intersects a BoundingSphere.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sphere</CODE> - The BoundingSphere to check for intersection with.
<DT><B>Returns:</B><DD>true if the BoundingBox and BoundingSphere intersect; false otherwise.</DL>
</DD>
</DL>
<HR>
<A NAME="Intersects(Microsoft.Xna.Framework.Plane)"><!-- --></A><H3>
Intersects</H3>
<PRE>
public <A HREF="../../../Microsoft/Xna/Framework/PlaneIntersectionType.html" title="enum in Microsoft.Xna.Framework">PlaneIntersectionType</A> <B>Intersects</B>(<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A>&nbsp;plane)</PRE>
<DL>
<DD>Checks whether the current BoundingBox intersects a Plane.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>plane</CODE> - The Plane to check for intersection with.
<DT><B>Returns:</B><DD>An enumeration indicating whether the BoundingBox intersects the Plane.</DL>
</DD>
</DL>
<HR>
<A NAME="Intersects(Microsoft.Xna.Framework.Ray)"><!-- --></A><H3>
Intersects</H3>
<PRE>
public java.lang.Float <B>Intersects</B>(<A HREF="../../../Microsoft/Xna/Framework/Ray.html" title="class in Microsoft.Xna.Framework">Ray</A>&nbsp;ray)</PRE>
<DL>
<DD>Checks whether the current BoundingBox intersects a Ray.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ray</CODE> - The Ray to check for intersection with.
<DT><B>Returns:</B><DD>Distance at which the ray intersects the BoundingBox, or null if there is no intersection.</DL>
</DD>
</DL>
<HR>
<A NAME="Intersects(Microsoft.Xna.Framework.BoundingBox, boolean)"><!-- --></A><H3>
Intersects</H3>
<PRE>
public void <B>Intersects</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;box,
boolean&nbsp;result)</PRE>
<DL>
<DD>Checks whether the current BoundingBox intersects another BoundingBox.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>box</CODE> - The BoundingBox to check for intersection with.<DD><CODE>result</CODE> - [OutAttribute] true if the BoundingBox instances intersect; false otherwise.</DL>
</DD>
</DL>
<HR>
<A NAME="Intersects(Microsoft.Xna.Framework.BoundingSphere, boolean)"><!-- --></A><H3>
Intersects</H3>
<PRE>
public void <B>Intersects</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;sphere,
boolean&nbsp;result)</PRE>
<DL>
<DD>Checks whether the current BoundingBox intersects a BoundingSphere.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sphere</CODE> - The BoundingSphere to check for intersection with.<DD><CODE>result</CODE> - [OutAttribute] true if the BoundingBox and BoundingSphere intersect; false otherwise.</DL>
</DD>
</DL>
<HR>
<A NAME="Intersects(Microsoft.Xna.Framework.Plane, Microsoft.Xna.Framework.PlaneIntersectionType)"><!-- --></A><H3>
Intersects</H3>
<PRE>
public void <B>Intersects</B>(<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A>&nbsp;plane,
<A HREF="../../../Microsoft/Xna/Framework/PlaneIntersectionType.html" title="enum in Microsoft.Xna.Framework">PlaneIntersectionType</A>&nbsp;result)</PRE>
<DL>
<DD>Checks whether the current BoundingBox intersects a Plane.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>plane</CODE> - The Plane to check for intersection with.<DD><CODE>result</CODE> - [OutAttribute] An enumeration indicating whether the BoundingBox intersects the Plane.</DL>
</DD>
</DL>
<HR>
<A NAME="Intersects(Microsoft.Xna.Framework.Ray, java.lang.Float)"><!-- --></A><H3>
Intersects</H3>
<PRE>
public void <B>Intersects</B>(<A HREF="../../../Microsoft/Xna/Framework/Ray.html" title="class in Microsoft.Xna.Framework">Ray</A>&nbsp;ray,
java.lang.Float&nbsp;result)</PRE>
<DL>
<DD>Checks whether the current BoundingBox intersects a Ray.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ray</CODE> - The Ray to check for intersection with.<DD><CODE>result</CODE> - [OutAttribute] Distance at which the ray intersects the BoundingBox, or null if there is no intersection.</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 that represents the current BoundingBox.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>String representation of the current BoundingBox.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<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/BoundingBox.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-files/index-1.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;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?Microsoft/Xna/Framework/BoundingBox.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="BoundingBox.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&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>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>