ContainmentType enumeration (directxcollision.h)

Indicates whether an object contains another object.

Syntax

typedef enum ContainmentType {
  DISJOINT = 0,
  INTERSECTS = 1,
  CONTAINS = 2
} ;

Constants

 
DISJOINT
Value: 0
The object does not contain the specified object.
INTERSECTS
Value: 1
The objects intersect.
CONTAINS
Value: 2
The object contains the specified object.

Remarks

Namespace: Use DirectX

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

Requirement Value
Header directxcollision.h

See also

DirectXMath Enumerations

Reference