|
Classes |
class | MFBinaryTree |
| A set of hierarchical bounding boxes for storing spherical balls. More...
|
Functions |
MFBinaryTree | MFCreateBinaryTree (int d, MFErrorHandler e) |
| Creates a binary tree in dimension d.
|
void | MFBinaryTreeAddChart (MFBinaryTree tree, int seq, double *x, double R, MFErrorHandler e) |
| adds a ball to a binary tree.
|
MFListOfCharts | MFCreateListOfIntersectingCharts (MFBinaryTree tree, int seq, double *x, double R, MFErrorHandler e) |
| Adds a ball to the tree and gets a list of charts (the sequence numbers, MFErrorHandler e); that overlap a ball.
|
MFListOfCharts | MFCreateListOfNearbyCharts (MFBinaryTree tree, double *x, double R, MFErrorHandler e) |
| Gets a list of charts (the sequence numbers, MFErrorHandler e); that overlap a ball without adding the ball.
|
void | MFRecomputeBoundingBoxes (MFBinaryTree tree, int seq, double *x, double R, MFErrorHandler e) |
| Updates the boundaing boxes as if the ball were being added, but does not add the ball.
|
void | MFRefBinaryTree (MFBinaryTree tree, MFErrorHandler e) |
| Adds a reference to the tree.
|
void | MFFreeBinaryTree (MFBinaryTree tree, MFErrorHandler e) |
| Frees a reference to the tree, and deletes the tree if there are no references left.
|
void | MFWriteBinaryTree (FILE *fid, MFBinaryTree tree, MFErrorHandler e) |
| Writes a tree to a file.
|
MFBinaryTree | MFReadBinaryTree (FILE *fid, MFAtlas A, MFErrorHandler e) |
| Reads a tree from a file.
|