Graphviz 13.0.0~dev.20241220.2304
|
#include <stdlib.h>
#include <inttypes.h>
#include <label/index.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <assert.h>
#include <label/node.h>
#include <util/alloc.h>
Go to the source code of this file.
Functions | |
Node_t * | RTreeNewNode (void) |
void | InitNode (Node_t *n) |
void | InitBranch (Branch_t *b) |
Rect_t | NodeCover (Node_t *n) |
int | PickBranch (Rect_t *r, Node_t *n) |
int | AddBranch (RTree_t *rtp, Branch_t *b, Node_t *n, Node_t **new) |
void | DisconBranch (Node_t *n, int i) |
Definition at line 147 of file node.c.
References Node::branch, Branch::child, Node::count, NODECARD, NULL, and SplitNode().
Referenced by LoadNodes(), RTreeInsert(), and RTreeInsert2().
void DisconBranch | ( | Node_t * | n, |
int | i | ||
) |
Definition at line 172 of file node.c.
References Node::branch, Branch::child, Node::count, InitBranch(), and NODECARD.
Referenced by RTreeClose2().
void InitBranch | ( | Branch_t * | b | ) |
Definition at line 42 of file node.c.
References Branch::child, InitRect(), NULL, and Branch::rect.
Referenced by DisconBranch(), and InitNode().
void InitNode | ( | Node_t * | n | ) |
Definition at line 32 of file node.c.
References Node::branch, Node::count, InitBranch(), Node::level, and NODECARD.
Referenced by GetBranches(), and RTreeNewNode().
Definition at line 81 of file node.c.
References Node::branch, Branch::child, CombineRect(), InitRect(), NODECARD, and Branch::rect.
Referenced by RTreeInsert(), and RTreeInsert2().
Definition at line 105 of file node.c.
References Node::branch, Branch::child, CombineRect(), NODECARD, Branch::rect, and RectArea().
Referenced by RTreeInsert2().
Node_t * RTreeNewNode | ( | void | ) |
Definition at line 24 of file node.c.
References gv_alloc(), and InitNode().
Referenced by RTreeInsert(), RTreeNewIndex(), and SplitNode().