Graphviz 13.0.0~dev.20250608.0154
Loading...
Searching...
No Matches
rectangle.c File Reference
#include "config.h"
#include <label/index.h>
#include <math.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <common/arith.h>
#include <label/rectangle.h>
#include <cgraph/cgraph.h>
#include <util/exit.h>
Include dependency graph for rectangle.c:

Go to the source code of this file.

Functions

static bool Undefined (Rect_t r)
 
void InitRect (Rect_t *r)
 
Rect_t NullRect (void)
 
uint64_t RectArea (const Rect_t r)
 
Rect_t CombineRect (const Rect_t r, const Rect_t rr)
 
bool Overlap (const Rect_t r, const Rect_t s)
 

Function Documentation

◆ CombineRect()

Rect_t CombineRect ( const Rect_t  r,
const Rect_t  rr 
)

Definition at line 84 of file rectangle.c.

References Rect::boundary, NUMDIMS, and Undefined().

Referenced by Classify(), GetBranches(), MethodZero(), NodeCover(), PickBranch(), PickSeeds(), and RTreeInsert2().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitRect()

void InitRect ( Rect_t r)

Definition at line 30 of file rectangle.c.

References Rect::boundary, and NUMSIDES.

Referenced by InitBranch(), and NodeCover().

Here is the caller graph for this function:

◆ NullRect()

Rect_t NullRect ( void  )

Definition at line 40 of file rectangle.c.

References Rect::boundary, and NUMDIMS.

Referenced by InitPVars().

Here is the caller graph for this function:

◆ Overlap()

bool Overlap ( const Rect_t  r,
const Rect_t  s 
)

Definition at line 103 of file rectangle.c.

References Rect::boundary, and NUMDIMS.

Referenced by aabbaabb(), and RTreeSearch().

Here is the caller graph for this function:

◆ RectArea()

uint64_t RectArea ( const Rect_t  r)

Definition at line 64 of file rectangle.c.

References agerrorf(), Rect::boundary, dim, graphviz_exit(), NUMDIMS, and Undefined().

Referenced by Classify(), GetBranches(), MethodZero(), PickBranch(), and PickSeeds().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Undefined()

static bool Undefined ( Rect_t  r)
static

Definition at line 25 of file rectangle.c.

References Rect::boundary, and NUMDIMS.

Referenced by CombineRect(), and RectArea().

Here is the caller graph for this function: