CDXBnds Class

The CDXBnds template class is used to simplify construction and manipulation of the DXBNDS structure. 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 and meshes.

Member Functions


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.