Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
split.q.h
Go to the documentation of this file.
1/*************************************************************************
2 * Copyright (c) 2011 AT&T Intellectual Property
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * https://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors: Details at https://graphviz.org
9 *************************************************************************/
10
11#pragma once
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17/*-----------------------------------------------------------------------------
18| Definitions and global variables.
19-----------------------------------------------------------------------------*/
20#include <label/rectangle.h>
21#include <label/index.h>
22#include <stdint.h>
23
24#ifndef METHODS
25#define METHODS 1
26#endif /*METHODS*/
27/* variables for finding a partition */
30 int taken[NODECARD + 1];
31 int count[2];
32 struct Rect cover[2];
33 uint64_t area[2];
34};
35
42
43void SplitNode(RTree_t *, Node_t *, Branch_t *, Node_t **);
44
45#ifdef __cplusplus
46}
47#endif
#define NODECARD
Definition index.h:43
void SplitNode(RTree_t *, Node_t *, Branch_t *, Node_t **)
Definition split.q.c:35
#define METHODS
Definition split.q.h:25
struct split_q_s SplitQ_t
Definition node.h:19
Definition node.h:24
struct Rect cover[2]
Definition split.q.h:32
uint64_t area[2]
Definition split.q.h:33
int partition[NODECARD+1]
Definition split.q.h:29
int count[2]
Definition split.q.h:31
int taken[NODECARD+1]
Definition split.q.h:30
Definition index.h:65
struct PartitionVars Partitions[METHODS]
Definition split.q.h:40
struct Branch BranchBuf[NODECARD+1]
Definition split.q.h:37
uint64_t CoverSplitArea
Definition split.q.h:39
struct Rect CoverSplit
Definition split.q.h:38