Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdSiSpatialIndex::createObject Method
Syntax
C++
static OdSiSpatialIndexPtr createObject(OdUInt32 flags, unsigned int initialNumEntity, unsigned int maxDepth = 30, unsigned int maxCount = 20, double eps = 1e-10);

Creates a SpatialIndex object with the specified parameters.

Parameters
Description
flags
[in] Specifies set of flags for Spatial Index creation.
maxDepth
[in] Maximum depth of the Spatial Index.
maxCount
[in] Maximum number of nodes in the SpatialIndex.
eps
[in] Relative tolerance (equalVector).

Returns a SmartPointer to the new SpatialIndex object.

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

Copyright © 2002-2022. Open Design Alliance All rights reserved.