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
- box
Type: BoundingBox
The BoundingBox to check for intersection with the current BoundingSphere.
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