24#define Undefined(x) ((x)->boundary[0] > (x)->boundary[NUMDIMS])
31 for (
size_t i = 0; i <
NUMSIDES; i++)
55 fprintf(stderr,
"rect:");
56 for (
size_t i = 0; i <
NUMDIMS; i++)
57 fprintf(stderr,
"\t%d\t%d\n", r->
boundary[i],
73 for (
size_t i = 0; i <
NUMDIMS; i++) {
75 if (
dim == 0)
return 0;
76 if (UINT64_MAX /
dim < area) {
77 agerrorf(
"label: area too large for rtree\n");
97 for (
size_t i = 0; i <
NUMDIMS; i++) {
111 for (
size_t i = 0; i <
NUMDIMS; i++) {
abstract graph C library, Cgraph API
static NORETURN void graphviz_exit(int status)
void agerrorf(const char *fmt,...)
bool Overlap(const Rect_t *r, const Rect_t *s)
Rect_t CombineRect(const Rect_t *r, const Rect_t *rr)
uint64_t RectArea(const Rect_t *r)