API Reference > OdSi Classes > OdSiSpatialIndex Class > OdSiSpatialIndex Methods > OdSiSpatialIndex::setMaxTreeDepth Method
OdSiSpatialIndex::setMaxTreeDepth Method
Syntax
C++
virtual void setMaxTreeDepth(unsigned char maxDepth) = 0;
Parameters 
Description 
unsigned char maxDepth 
[in] Maximum depth. 

Sets the maximum depth of this SpatialIndex object.

maxDepth specifies the maximum number of times the tree-structured SpatialIndex can branch.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.