RFMeshTools.CreateKDTree (Available After rapidform2006)



Your Ad Here

Description

Creates KD tree of the specified vertices and retrieves a RFHandle of KD tree structure if the KD tree construction is finished successfully.

Syntax

Function RFMeshTools.CreateKDTree(iVertexCount As Long, pVertexIDs As RFEntityID, phTreeStruct As RFHandle) As RFErrorCode

The CreateKDTree syntax has these parts:

Part Description
iVertexCount [IN] Long Required. The size of pVertexIDs array.
pVertexIDs [IN] RFEntityID Required. The first element of vertices to construct KD tree.
phTreeStruct [OUT] RFHandle Required. Handle of the KD tree structure.

Remarks

Return to Rapidform Index


Your Ad Here