Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BoundingOrientedBox interface

An oriented bounding box object.

Constructors

The BoundingOrientedBox interface has these constructors.

ConstructorDescription
BoundingOrientedBox

Creates an instance of BoundingOrientedBox.

 

Methods

The BoundingOrientedBox interface has these methods.

MethodDescription
ContainedBy

Tests whether the BoundingOrientedBox is contained by a frustum.

Contains Overloaded.

Tests whether the BoundingOrientedBox contains another object.

CreateFromBoundingBox

Creates a BoundingOrientedBox from a BoundingBox.

CreateFromPoints

Creates a BoundingOrientedBox from a collection of points.

GetCorners

Retrieves the corners of the BoundingOrientedBox.

Intersects Overloaded.

Tests the BoundingOrientedBox for intersection with another object.

op_Assignment

Copies values from another BoundingOrientedBox.

Transform Overloaded.

Transforms the BoundingOrientedBox.

 

Properties

The BoundingOrientedBox interface has these properties.

PropertyAccess typeDescription

Center

Read/write

The center of the BoundingOrientedBox.

CORNER_COUNT

Read/write

The number of points defining the BoundingOrientedBox.

Extents

Read/write

The extents of the BoundingOrientedBox.

Orientation

Read/write

The orientation of the BoundingOrientedBox represented as a quaternion.

 

Note  BoundingOrientedBox is new for DirectXMath. This functionality is not available in XNAMath 2.x. Similar functionality for XNAMath can be found in the DirectX SDK Collision sample.

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

Header

DirectXCollision.h

 

 

Community Additions

Show:
© 2014 Microsoft