KDTreeFree

Frees memory allocated for k-D tree.

Syntax

void ipprKDTreeFree(IpprKDTreeNode* pSrcKDTree);

Parameters

pSrcKDTree

Pointer to the allocated k-D tree.

Description

The function ipprKDTreeFree is declared in the ippr.h file. This function frees the memory allocated for the k-D tree by the function ipprKDTreeBuildAlloc.

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 the pointer pSrcKDTree is NULL.

Submit feedback on this help topic

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