< Table Of Contents

SetBoundBox

Calculates the coordinates of the axis aligned bounding box.

Syntax

IppStatus ipprSetBoundBox_32f(const Ipp32f* pVertCoor, int lenTri, IppBox3D_32f* pBound);

Parameters

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.

Description

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.

Return Values

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.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.