BoundingBox interface
A bounding axis-aligned object.
Constructors
The BoundingBox interface has these constructors.
| Constructor | Description |
|---|---|
| BoundingBox |
Creates an instance of the |
Methods
The BoundingBox interface has these methods.
| Method | Description |
|---|---|
| ContainedBy |
Tests whether the BoundingBox is contained by the specified frustum. |
| Contains | Overloaded. Tests whether the BoundingBox contains a specified object. |
| CreateFromPoints | Overloaded. Creates a BoundingBox from points. |
| CreateFromSphere |
Creates a BoundingBox large enough to contain the a specified BoundingSphere. |
| CreateMerged |
Creates a BoundingBox large enough to contains two specified BoundBox intances. |
| GetCorners |
Retrieves the corners of the BoundingBox. |
| Intersects | Overloaded. Tests the BoundingBox for intersection with another object. |
| op_Assignment |
Copies values from another BoundingBox. |
| Transform | Overloaded. Transforms the BoundingBox. |
Properties
The BoundingBox interface has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read/write |
The center of the BoundingBox. | |
|
Read/write |
The number of points defining the BoundingBox. | |
|
Read/write |
The extents of the BoundingBox. |
Remarks
Platform Requirements
Microsoft Visual Studio 2010 or Microsoft Visual Studio 2012 with the Windows SDK for Windows 8. Supported for Win32 desktop apps, Windows Store apps, and Windows Phone 8 apps.
Requirements
|
Namespace |
Use DirectX. |
|---|---|
|
Header |
|
See also