Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Disposes the node
|
|
ErrorMetric ( BoundingBox box ) : double |
Calculate the floating point error metric
|
|
FromFile ( string filename ) : |
Loads a quadtree from a file
|
|
QuadTree ( List |
Creates a node and either splits the objects recursively into sub-nodes, or stores them at the node depending on the heuristics. Tree is built top->down
|
|
SaveIndex ( string filename ) : void |
Saves the Quadtree to a file
|
|
Search ( BoundingBox box ) : Collection |
Searches the tree and looks for intersections with the boundingbox 'bbox'
|
Метод | Описание | |
---|---|---|
IntersectTreeRecursive ( BoundingBox box, |
Recursive function that traverses the tree and looks for intersections with a boundingbox
|
|
QuadTree ( ) : System |
This instantiator is used internally for loading a tree from a file
|
|
ReadNode ( uint depth, |
Reads a node from a stream recursively
|
|
SaveNode ( |
Saves a node to a stream recursively
|
public ErrorMetric ( BoundingBox box ) : double | ||
box | BoundingBox | |
Результат | double |
public static FromFile ( string filename ) : |
||
filename | string | |
Результат |
public QuadTree ( List |
||
objList | List |
Geometries to index |
depth | uint | Current depth of tree |
heurdata | Heuristics data | |
Результат | System |
public SaveIndex ( string filename ) : void | ||
filename | string | |
Результат | void |
public Search ( BoundingBox box ) : Collection |
||
box | BoundingBox | Boundingbox to intersect with |
Результат | Collection |