Share via


BoundingSphere.Intersects Method (BoundingBox)

Checks whether the current BoundingSphere intersects with a specified BoundingBox.

Syntax

'Declaration
Public Function Intersects ( _
         box As BoundingBox _
) As Boolean 
public bool Intersects (
         BoundingBox box
)
public:
bool Intersects(
         BoundingBox box
)

Parameters

Return Value

Type: Boolean
true if the BoundingBox and BoundingSphere intersect; false otherwise.

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

BoundingSphere Structure
BoundingSphere Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone