几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】odsispatialindex maxdepth and maxcoun (http://www.dimcax.com/hust/showthread.php?t=17761)

yang686526 2009-05-06 09:08 PM

【转帖】odsispatialindex maxdepth and maxcoun
 
odsispatialindex maxdepth and maxcount
odsispatialindex maxdepth and maxcount
hi,
can you explain me how to use setmaxnodesize and setmaxtreedepth methods.
how can i optimize their use.
excuse my english
(please help me...)
spatial index is a binary tree. while building the index, each tree node is filled up to maxnodesize, until it spits to child nodes. maxtreedepth is maximum depth of this tree. if the node is at the lowest level, it will not split, even if it will contain more than maxnodesize elements.
default values are maxnodesize = 20, maxtreedepth = 30.
ideally maxtreedepth should be ~ logb((drawingextent)/(minimal element size))
vladimir
thank you for your answer.


所有的时间均为北京时间。 现在的时间是 12:04 AM.