Export (0) Print
Expand All

BoundingSphere Structure

Defines a sphere.

Namespace:  Microsoft.Xna.Framework
Assembly:  Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)

public struct BoundingSphere

The BoundingSphere type exposes the following members.

  NameDescription
Public methodBoundingSphereCreates a new instance of BoundingSphere.
Top

  NameDescription
Public methodContains(BoundingBox)Checks whether the current BoundingSphere contains the specified BoundingBox.
Public methodContains(BoundingFrustum)Checks whether the current BoundingSphere contains the specified BoundingFrustum.
Public methodContains(BoundingSphere)Checks whether the current BoundingSphere contains the specified BoundingSphere.
Public methodContains(Vector3)Checks whether the current BoundingSphere contains the specified point.
Public methodContains(BoundingBox, ContainmentType)Checks whether the current BoundingSphere contains the specified BoundingBox.
Public methodContains(BoundingSphere, ContainmentType)Checks whether the current BoundingSphere contains the specified BoundingSphere.
Public methodContains(Vector3, ContainmentType)Checks whether the current BoundingSphere contains the specified point.
Public methodStatic memberCreateFromBoundingBox(BoundingBox)Creates the smallest BoundingSphere that can contain a specified BoundingBox.
Public methodStatic memberCreateFromBoundingBox(BoundingBox, BoundingSphere)Creates the smallest BoundingSphere that can contain a specified BoundingBox.
Public methodStatic memberCreateFromFrustumCreates the smallest BoundingSphere that can contain a specified BoundingFrustum.
Public methodStatic memberCreateFromPointsCreates a BoundingSphere that can contain a specified list of points.
Public methodStatic memberCreateMerged(BoundingSphere, BoundingSphere)Creates a BoundingSphere that contains the two specified BoundingSphere instances.
Public methodStatic memberCreateMerged(BoundingSphere, BoundingSphere, BoundingSphere)Creates a BoundingSphere that contains the two specified BoundingSphere instances.
Public methodEquals(Object)Determines whether the specified Object is equal to the BoundingSphere. (Overrides ValueType.Equals(Object).)
Public methodEquals(BoundingSphere)Determines whether the specified BoundingSphere is equal to the current BoundingSphere.
Public methodGetHashCodeGets the hash code for this instance. (Overrides ValueType.GetHashCode().)
Public methodIntersects(BoundingBox)Checks whether the current BoundingSphere intersects with a specified BoundingBox.
Public methodIntersects(BoundingFrustum)Checks whether the current BoundingSphere intersects with a specified BoundingFrustum.
Public methodIntersects(BoundingSphere)Checks whether the current BoundingSphere intersects with a specified BoundingSphere.
Public methodIntersects(Plane)Checks whether the current BoundingSphere intersects with a specified Plane.
Public methodIntersects(Ray)Checks whether the current BoundingSphere intersects with a specified Ray.
Public methodIntersects(BoundingBox, Boolean)Checks whether the current BoundingSphere intersects a BoundingBox.
Public methodIntersects(BoundingSphere, Boolean)Checks whether the current BoundingSphere intersects another BoundingSphere.
Public methodIntersects(Plane, PlaneIntersectionType)Checks whether the current BoundingSphere intersects a Plane.
Public methodIntersects(Ray, Nullable<Single>)Checks whether the current BoundingSphere intersects a Ray.
Public methodToStringReturns a String that represents the current BoundingSphere. (Overrides ValueType.ToString().)
Public methodTransform(Matrix)Translates and scales the BoundingSphere using a given Matrix.
Public methodTransform(Matrix, BoundingSphere)Translates and scales the BoundingSphere using a given Matrix.
Top

  NameDescription
Public operatorStatic memberEqualityDetermines whether two instances of BoundingSphere are equal.
Public operatorStatic memberInequalityDetermines whether two instances of BoundingSphere are not equal.
Top

  NameDescription
Public fieldCenterThe center point of the sphere.
Public fieldRadiusThe radius of the sphere.
Top

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft