BoundingBox Members

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

Public Constructors

Name Description
Public Method BoundingBox Creates an instance of BoundingBox.

Public Fields

Name Description
Public Field CornerCount Specifies the total number of corners (8) in the BoundingBox.
Public Field Max The maximum point the BoundingBox contains.
Public Field Min The minimum point the BoundingBox contains.

Public Methods

Name Description
Public Method Contains Overloaded. Tests whether the BoundingBox overlaps another bounding volume.
Public Method Static CreateFromPoints Creates the smallest BoundingBox that will contain a group of points.
Public Method Static CreateFromSphere Overloaded. Creates the smallest BoundingBox that will contain the specified BoundingSphere.
Public Method Static CreateMerged Overloaded. Creates the smallest BoundingBox that contains the two specified BoundingBox instances.
Public Method Equals Overloaded. Determines whether two instances of BoundingBox are equal.
Public Method GetCorners Overloaded. Gets an array of points that make up the corners of the BoundingBox.
Public Method GetHashCode Gets the hash code for this instance.
Public Method GetType (Inherited from Object.)
Public Method Intersects Overloaded. Checks whether the current BoundingBox intersects with another bounding volume.
Public Method Static op_Equality Determines whether two instances of BoundingBox are equal.
Public Method Static op_Inequality Determines whether two instances of BoundingBox are not equal.
Public Method ToString Returns a String that represents the current BoundingBox.

Protected Methods

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

See Also

Reference

BoundingBox Structure
Microsoft.Xna.Framework Namespace