CDXBnds class

The CDXBnds template class is used to simplify construction and manipulation of the DXBNDS structure.

CDXBnds has these types of members:

Remarks

The template for the class shown here can be found in the header file Dxbounds.h.

#define CDXB_C CDXBnds<TYPE, USTYPE, STTYPE, eBndType>
#define CDXB_T ((STTYPE*)u.D)
#define CDXB_O( OtherBnd ) ((STTYPE*)(OtherBnd).u.D)


template<class TYPE, class USTYPE, class STTYPE,
        DXBNDTYPE eBndType> class CDXBnds : public DXBNDS

The DXBNDS union is used to represent a four-dimensional (x, y, z, t) bounding volume, which describes a specified region used in many of the Microsoft DirectX Transform interfaces. The union allows four types defined by the DXBNDTYPE enumeration. There are four template type definitions corresponding to each of the union types. Use the following:

You should use instances of these objects to describe the bounding regions of images.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

DirectX 6.1

Header

Dxbounds.h

DLL

Dxtrans.dll