Calculates the coordinates of the axis aligned bounding box.
IppStatus ipprSetBoundBox_32f(const Ipp32f* pVertCoor, int lenTri, IppBox3D_32f* pBound);
pSVertCoor |
Pointer to the coordinates of the vertexes of the triangles. |
lenTri |
Number of triangles in the mesh. |
pSBound |
Pointer to the coordinate of the axis aligned bounding box. |
The function ipprSetBoundBox is declared in the ippr.h file. This function calculates the coordinates of the axis aligned bounding box.
The code example demonstrates how to use this function.
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error if one of the specified pointers is NULL. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.