Graphviz 13.1.2~dev.20250725.0048
Loading...
Searching...
No Matches
poly.h File Reference
Include dependency graph for poly.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Poly
 

Macros

#define INTERNAL   /* nothing */
 

Functions

INTERNAL void polyFree (void)
 
INTERNAL int polyOverlap (Point, Poly *, Point, Poly *)
 
INTERNAL int makePoly (Poly *, Agnode_t *, double, double)
 
INTERNAL int makeAddPoly (Poly *, Agnode_t *, double, double)
 
INTERNAL void breakPoly (Poly *)
 

Macro Definition Documentation

◆ INTERNAL

#define INTERNAL   /* nothing */

Definition at line 22 of file poly.h.

Function Documentation

◆ breakPoly()

INTERNAL void breakPoly ( Poly pp)

Definition at line 44 of file poly.c.

References free(), and Poly::verts.

Referenced by freeNodes().

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

◆ makeAddPoly()

INTERNAL int makeAddPoly ( Poly pp,
Agnode_t n,
double  xmargin,
double  ymargin 
)

Definition at line 128 of file poly.c.

References agerrorf(), bbox(), BOX, CIRCLE, Poly::corner, genRound(), gv_calloc(), isBox(), Poly::kind, boxf::LL, makeScaledTransPoint(), maxcnt, ND_clust, ND_height, ND_shape, ND_shape_info, ND_width, Poly::nverts, Poly::origin, PS2INCH, PUTPT, SH_POINT, SH_POLY, SH_RECORD, shapeOf(), streq(), boxf::UR, Poly::verts, pointf_s::x, Point::x, pointf_s::y, and Point::y.

Referenced by makeInfo().

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

◆ makePoly()

INTERNAL int makePoly ( Poly pp,
Agnode_t n,
double  xmargin,
double  ymargin 
)

Definition at line 218 of file poly.c.

References agerrorf(), bbox(), BOX, CIRCLE, Poly::corner, genRound(), gv_calloc(), inflatePts(), isBox(), Poly::kind, boxf::LL, makeScaledPoint(), maxcnt, ND_clust, ND_height, ND_shape, ND_shape_info, ND_width, Poly::nverts, Poly::origin, PS2INCH, PUTPT, SH_POINT, SH_POLY, SH_RECORD, shapeOf(), streq(), boxf::UR, Poly::verts, pointf_s::x, Point::x, pointf_s::y, and Point::y.

Referenced by makeInfo().

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

◆ polyFree()

INTERNAL void polyFree ( void  )

Definition at line 33 of file poly.c.

References free(), maxcnt, NULL, tp1, tp2, and tp3.

Referenced by freeNodes().

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

◆ polyOverlap()

INTERNAL int polyOverlap ( Point  p,
Poly pp,
Point  q,
Poly qp 
)

Definition at line 438 of file poly.c.

References addpt(), Poly::corner, dx, dy, edgesIntersect(), gv_calloc(), inBox(), inPoly(), ISBOX(), ISCIRCLE(), maxcnt, NULL, Poly::nverts, Poly::origin, pintersect(), tp1, tp2, transCopy(), Poly::verts, Point::x, and Point::y.

Referenced by countOverlap().

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