Graphviz 13.1.3~dev.20250815.1023
|
Go to the source code of this file.
Data Structures | |
struct | Leaf |
struct | LeafList |
struct | RTree |
Macros | |
#define | NUMDIMS 2 |
#define | NUMSIDES 2*NUMDIMS |
#define | NODECARD 64 |
#define | CX(i) (i) |
#define | NX(i) (i+NUMDIMS) |
#define | CY(i) (i+1) |
#define | NY(i) (i+1+NUMDIMS) |
Typedefs | |
typedef struct RTree | RTree_t |
typedef struct Leaf | Leaf_t |
typedef struct LeafList | LeafList_t |
Functions | |
RTree_t * | RTreeOpen (void) |
void | RTreeClose (RTree_t *rtp) |
Node_t * | RTreeNewIndex (void) |
LeafList_t * | RTreeSearch (RTree_t *, Node_t *, Rect_t) |
int | RTreeInsert (RTree_t *, Rect_t, void *, Node_t **) |
void | RTreeLeafListFree (LeafList_t *llp) |
typedef struct LeafList LeafList_t |
void RTreeClose | ( | RTree_t * | rtp | ) |
Definition at line 79 of file index.c.
References free(), RTree::root, and RTreeClose2().
Referenced by xlfree().
Definition at line 168 of file index.c.
References AddBranch(), Rect::boundary, Branch::child, Node::level, newnode(), NodeCover(), NULL, NUMDIMS, Branch::rect, RTreeInsert2(), and RTreeNewNode().
Referenced by xlspdxload().
void RTreeLeafListFree | ( | LeafList_t * | llp | ) |
Definition at line 35 of file index.c.
References free(), and LeafList::next.
Referenced by xlintersections().
Node_t * RTreeNewIndex | ( | void | ) |
Definition at line 54 of file index.c.
References Node::level, and RTreeNewNode().
Referenced by RTreeOpen().
RTree_t * RTreeOpen | ( | void | ) |
Definition at line 46 of file index.c.
References gv_alloc(), RTree::root, and RTreeNewIndex().
Referenced by xlnew().
LeafList_t * RTreeSearch | ( | RTree_t * | rtp, |
Node_t * | n, | ||
Rect_t | r | ||
) |
Definition at line 128 of file index.c.
References Node::branch, Branch::child, Node::level, LeafList::next, NODECARD, Overlap(), Branch::rect, RTreeLeafListAdd(), and RTreeSearch().
Referenced by RTreeSearch(), and xlintersections().