Share via


BoundingSphere Members

The following tables list the members exposed by the BoundingSphere type.

Public Constructors

Name Description
Public Method BoundingSphere Creates a new instance of BoundingSphere.

Public Fields

Name Description
Public Field Center The center point of the sphere.
Public Field Radius The radius of the sphere.

Public Methods

Name Description
Public Method Contains Overloaded. Checks whether the current BoundingSphere contains a specified bounding volume.
Public Method Static CreateFromBoundingBox Overloaded. Creates the smallest BoundingSphere that can contain a specified BoundingBox.
Public Method Static CreateFromFrustum Creates the smallest BoundingSphere that can contain a specified BoundingFrustum.
Public Method Static CreateFromPoints Creates a BoundingSphere that can contain a specified list of points.
Public Method Static CreateMerged Overloaded. Creates a BoundingSphere that contains the two specified BoundingSphere instances.
Public Method Equals Overloaded. Determines whether two instances of BoundingSphere are equal.
Public Method GetHashCode Gets the hash code for this instance.
Public Method GetType (Inherited from Object.)
Public Method Intersects Overloaded. Checks whether the current BoundingSphere intersects another bounding volume.
Public Method Static op_Equality Determines whether two instances of BoundingSphere are equal.
Public Method Static op_Inequality Determines whether two instances of BoundingSphere are not equal.
Public Method ToString Returns a String that represents the current BoundingSphere.
Public Method Transform Overloaded. Translates and scales the BoundingSphere using a given Matrix.

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

BoundingSphere Structure
Microsoft.Xna.Framework Namespace