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

942 lines
45 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>
BoundingSphere
</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="BoundingSphere";
}
}
</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/BoundingSphere.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;<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../Microsoft/Xna/Framework/Color.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/BoundingSphere.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="BoundingSphere.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 BoundingSphere</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.BoundingSphere</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/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&gt;</DD>
</DL>
<HR>
<DL>
<DT><PRE>public final class <B>BoundingSphere</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/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&gt;</DL>
</PRE>
<P>
Defines a sphere.
<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;<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/BoundingSphere.html#Center">Center</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The center point of the sphere.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html#Radius">Radius</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The radius of the sphere.</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/BoundingSphere.html#BoundingSphere()">BoundingSphere</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new instance of BoundingSphere.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html#BoundingSphere(Microsoft.Xna.Framework.Vector3, float)">BoundingSphere</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A>&nbsp;center,
float&nbsp;radius)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new instance of BoundingSphere.</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/BoundingSphere.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;Checks whether the current BoundingSphere contains the specified 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/BoundingSphere.html#Contains(Microsoft.Xna.Framework.BoundingBox, Microsoft.Xna.Framework.ContainmentType)">Contains</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;box,
<A HREF="../../../Microsoft/Xna/Framework/ContainmentType.html" title="enum in Microsoft.Xna.Framework">ContainmentType</A>&nbsp;result)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether the current BoundingSphere contains the specified 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/BoundingSphere.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;Checks whether the current BoundingSphere contains the specified 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/BoundingSphere.html#Contains(Microsoft.Xna.Framework.BoundingSphere, Microsoft.Xna.Framework.ContainmentType)">Contains</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;sphere,
<A HREF="../../../Microsoft/Xna/Framework/ContainmentType.html" title="enum in Microsoft.Xna.Framework">ContainmentType</A>&nbsp;result)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether the current BoundingSphere contains the specified 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/BoundingSphere.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;Checks whether the current BoundingSphere contains the specified point.</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/BoundingSphere.html#Contains(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.ContainmentType)">Contains</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A>&nbsp;point,
<A HREF="../../../Microsoft/Xna/Framework/ContainmentType.html" title="enum in Microsoft.Xna.Framework">ContainmentType</A>&nbsp;result)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether the current BoundingSphere contains the specified 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/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html#CreateFromBoundingBox(Microsoft.Xna.Framework.BoundingBox)">CreateFromBoundingBox</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;Creates the smallest BoundingSphere that can contain a specified BoundingBox.</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/BoundingSphere.html#CreateFromBoundingBox(Microsoft.Xna.Framework.BoundingBox, Microsoft.Xna.Framework.BoundingSphere)">CreateFromBoundingBox</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;box,
<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;result)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates the smallest BoundingSphere that can contain a specified BoundingBox.</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/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html#CreateMerged(Microsoft.Xna.Framework.BoundingSphere, Microsoft.Xna.Framework.BoundingSphere)">CreateMerged</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;original,
<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;additional)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a BoundingSphere that contains the two specified BoundingSphere 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/BoundingSphere.html#CreateMerged(Microsoft.Xna.Framework.BoundingSphere, Microsoft.Xna.Framework.BoundingSphere, Microsoft.Xna.Framework.BoundingSphere)">CreateMerged</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;original,
<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;additional,
<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;result)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a BoundingSphere that contains the two specified BoundingSphere 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/BoundingSphere.html#Equals(Microsoft.Xna.Framework.BoundingSphere)">Equals</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;other)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines whether the specified BoundingSphere is equal to the current BoundingSphere.</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/BoundingSphere.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 the specified Object is equal to the BoundingSphere.</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/BoundingSphere.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/BoundingSphere.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 BoundingSphere intersects with a specified 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/BoundingSphere.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 BoundingSphere intersects a 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/BoundingSphere.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 BoundingSphere intersects with a specified 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/BoundingSphere.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 BoundingSphere intersects another 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/BoundingSphere.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 BoundingSphere intersects with a specified 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/BoundingSphere.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 BoundingSphere 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/BoundingSphere.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 BoundingSphere intersects with a specified 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/BoundingSphere.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 BoundingSphere 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/BoundingSphere.html#toString()">toString</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a String that represents the current 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/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html#Transform(Microsoft.Xna.Framework.Matrix)">Transform</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</A>&nbsp;matrix)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translates and scales the BoundingSphere using a given Matrix.</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/BoundingSphere.html#Transform(Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.BoundingSphere)">Transform</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</A>&nbsp;matrix,
<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;result)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translates and scales the BoundingSphere using a 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>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="Center"><!-- --></A><H3>
Center</H3>
<PRE>
public <A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> <B>Center</B></PRE>
<DL>
<DD>The center point of the sphere.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="Radius"><!-- --></A><H3>
Radius</H3>
<PRE>
public float <B>Radius</B></PRE>
<DL>
<DD>The radius of the sphere.
<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="BoundingSphere(Microsoft.Xna.Framework.Vector3, float)"><!-- --></A><H3>
BoundingSphere</H3>
<PRE>
public <B>BoundingSphere</B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A>&nbsp;center,
float&nbsp;radius)</PRE>
<DL>
<DD>Creates a new instance of BoundingSphere.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>center</CODE> - Center point of the sphere.<DD><CODE>radius</CODE> - Radius of the sphere.</DL>
</DL>
<HR>
<A NAME="BoundingSphere()"><!-- --></A><H3>
BoundingSphere</H3>
<PRE>
public <B>BoundingSphere</B>()</PRE>
<DL>
<DD>Creates a new instance of BoundingSphere.
<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>Checks whether the current BoundingSphere contains the specified BoundingBox.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>box</CODE> - The BoundingBox to check against the current BoundingSphere.
<DT><B>Returns:</B><DD>An enumeration indicating the relationship of the specified BoundingBox to the current BoundingSphere.</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>Checks whether the current BoundingSphere contains the specified BoundingSphere.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sphere</CODE> - The BoundingSphere to check against the current BoundingSphere.
<DT><B>Returns:</B><DD>An enumeration indicating the relationship of the BoundingSpheres.</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>Checks whether the current BoundingSphere contains the specified point.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>point</CODE> - The point to check against the current BoundingSphere.
<DT><B>Returns:</B><DD>An enumeration indicating the relationship of the specified point to the current BoundingSphere.</DL>
</DD>
</DL>
<HR>
<A NAME="Contains(Microsoft.Xna.Framework.BoundingBox, Microsoft.Xna.Framework.ContainmentType)"><!-- --></A><H3>
Contains</H3>
<PRE>
public void <B>Contains</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;box,
<A HREF="../../../Microsoft/Xna/Framework/ContainmentType.html" title="enum in Microsoft.Xna.Framework">ContainmentType</A>&nbsp;result)</PRE>
<DL>
<DD>Checks whether the current BoundingSphere contains the specified BoundingBox.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>box</CODE> - The BoundingBox to test for overlap.<DD><CODE>result</CODE> - [OutAttribute] Enumeration indicating the extent of overlap.</DL>
</DD>
</DL>
<HR>
<A NAME="Contains(Microsoft.Xna.Framework.BoundingSphere, Microsoft.Xna.Framework.ContainmentType)"><!-- --></A><H3>
Contains</H3>
<PRE>
public void <B>Contains</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;sphere,
<A HREF="../../../Microsoft/Xna/Framework/ContainmentType.html" title="enum in Microsoft.Xna.Framework">ContainmentType</A>&nbsp;result)</PRE>
<DL>
<DD>Checks whether the current BoundingSphere contains the specified BoundingSphere.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sphere</CODE> - The BoundingSphere to test for overlap.<DD><CODE>result</CODE> - [OutAttribute] Enumeration indicating the extent of overlap.</DL>
</DD>
</DL>
<HR>
<A NAME="Contains(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.ContainmentType)"><!-- --></A><H3>
Contains</H3>
<PRE>
public void <B>Contains</B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A>&nbsp;point,
<A HREF="../../../Microsoft/Xna/Framework/ContainmentType.html" title="enum in Microsoft.Xna.Framework">ContainmentType</A>&nbsp;result)</PRE>
<DL>
<DD>Checks whether the current BoundingSphere contains the specified point.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>point</CODE> - The point to test for overlap.<DD><CODE>result</CODE> - [OutAttribute] Enumeration indicating the extent of overlap.</DL>
</DD>
</DL>
<HR>
<A NAME="CreateFromBoundingBox(Microsoft.Xna.Framework.BoundingBox)"><!-- --></A><H3>
CreateFromBoundingBox</H3>
<PRE>
public static <A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A> <B>CreateFromBoundingBox</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;box)</PRE>
<DL>
<DD>Creates the smallest BoundingSphere that can contain a specified BoundingBox.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>box</CODE> - The BoundingBox to create the BoundingSphere from.
<DT><B>Returns:</B><DD>The created BoundingSphere.</DL>
</DD>
</DL>
<HR>
<A NAME="CreateFromBoundingBox(Microsoft.Xna.Framework.BoundingBox, Microsoft.Xna.Framework.BoundingSphere)"><!-- --></A><H3>
CreateFromBoundingBox</H3>
<PRE>
public static void <B>CreateFromBoundingBox</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A>&nbsp;box,
<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;result)</PRE>
<DL>
<DD>Creates the smallest BoundingSphere that can contain a specified BoundingBox.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>box</CODE> - The BoundingBox to create the BoundingSphere from.<DD><CODE>result</CODE> - [OutAttribute] The created BoundingSphere.</DL>
</DD>
</DL>
<HR>
<A NAME="CreateMerged(Microsoft.Xna.Framework.BoundingSphere, Microsoft.Xna.Framework.BoundingSphere)"><!-- --></A><H3>
CreateMerged</H3>
<PRE>
public static <A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A> <B>CreateMerged</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;original,
<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;additional)</PRE>
<DL>
<DD>Creates a BoundingSphere that contains the two specified BoundingSphere instances.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>original</CODE> - BoundingSphere to be merged.<DD><CODE>additional</CODE> - BoundingSphere to be merged.
<DT><B>Returns:</B><DD>The created BoundingSphere.</DL>
</DD>
</DL>
<HR>
<A NAME="CreateMerged(Microsoft.Xna.Framework.BoundingSphere, Microsoft.Xna.Framework.BoundingSphere, Microsoft.Xna.Framework.BoundingSphere)"><!-- --></A><H3>
CreateMerged</H3>
<PRE>
public static void <B>CreateMerged</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;original,
<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;additional,
<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;result)</PRE>
<DL>
<DD>Creates a BoundingSphere that contains the two specified BoundingSphere instances.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>original</CODE> - BoundingSphere to be merged.<DD><CODE>additional</CODE> - BoundingSphere to be merged.<DD><CODE>result</CODE> - [OutAttribute] The created BoundingSphere.</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 the specified Object is equal to the BoundingSphere.
<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 BoundingSphere.
<DT><B>Returns:</B><DD>true if the specified System.Object is equal to the current BoundingSphere; false otherwise.</DL>
</DD>
</DL>
<HR>
<A NAME="Equals(Microsoft.Xna.Framework.BoundingSphere)"><!-- --></A><H3>
Equals</H3>
<PRE>
public boolean <B>Equals</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;other)</PRE>
<DL>
<DD>Determines whether the specified BoundingSphere is equal to the current BoundingSphere.
<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/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&gt;</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>other</CODE> - The BoundingSphere to compare with the current BoundingSphere.
<DT><B>Returns:</B><DD>true if the specified BoundingSphere is equal to the current BoundingSphere; false otherwise.</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 BoundingSphere.</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 BoundingSphere intersects with a specified BoundingBox.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>box</CODE> - The BoundingBox to check for intersection with the current BoundingSphere.
<DT><B>Returns:</B><DD>true if the BoundingBox and BoundingSphere 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 BoundingSphere intersects with a specified BoundingSphere.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sphere</CODE> - The BoundingSphere to check for intersection with the current BoundingSphere.
<DT><B>Returns:</B><DD>true if the BoundingSpheres 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 BoundingSphere intersects with a specified Plane.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>plane</CODE> - The Plane to check for intersection with the current BoundingSphere.
<DT><B>Returns:</B><DD>An enumeration indicating the relationship between the BoundingSphere and 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 BoundingSphere intersects with a specified Ray.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ray</CODE> - The Ray to check for intersection with the current BoundingSphere.</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 BoundingSphere intersects a 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 BoundingSphere and BoundingBox 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 BoundingSphere intersects another 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 BoundingSphere instances 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 BoundingSphere 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 BoundingSphere 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 BoundingSphere 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 BoundingSphere 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 BoundingSphere.
<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 BoundingSphere.</DL>
</DD>
</DL>
<HR>
<A NAME="Transform(Microsoft.Xna.Framework.Matrix)"><!-- --></A><H3>
Transform</H3>
<PRE>
public <A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A> <B>Transform</B>(<A HREF="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</A>&nbsp;matrix)</PRE>
<DL>
<DD>Translates and scales the BoundingSphere using a given Matrix.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>matrix</CODE> - A transformation matrix that might include translation, rotation, or uniform scaling. Note that BoundingSphere.Transform will not return correct results if there
are non-uniform scaling, shears, or other unusual transforms in this transformation matrix. This is because there is no way to shear or non-uniformly scale a
sphere. Such an operation would cause the sphere to lose its shape as a sphere.</DL>
</DD>
</DL>
<HR>
<A NAME="Transform(Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.BoundingSphere)"><!-- --></A><H3>
Transform</H3>
<PRE>
public void <B>Transform</B>(<A HREF="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</A>&nbsp;matrix,
<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A>&nbsp;result)</PRE>
<DL>
<DD>Translates and scales the BoundingSphere using a given Matrix.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>matrix</CODE> - A transformation matrix that might include translation, rotation, or uniform scaling. Note that BoundingSphere.Transform will not return correct results if there
are non-uniform scaling, shears, or other unusual transforms in this transformation matrix. This is because there is no way to shear or non-uniformly scale a
sphere. Such an operation would cause the sphere to lose its shape as a sphere.<DD><CODE>result</CODE> - [OutAttribute] The transformed BoundingSphere.</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/BoundingSphere.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;<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../Microsoft/Xna/Framework/Color.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/BoundingSphere.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="BoundingSphere.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>