For example with help of these functions: D3DXComputeBoundingSphere, D3DXComputeBoundingBox.