/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/common/geomprocs.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

point pointof (int, int)
pointf pointfof (double, double)
pointf cvt2ptf (point)
point cvt2pt (pointf)
point add_points (point, point)
pointf add_pointfs (pointf, pointf)
point sub_points (point, point)
pointf sub_pointfs (pointf, pointf)
point exch_xy (point p)
pointf exch_xyf (pointf p)
box boxof (int llx, int lly, int urx, int ury)
boxf boxfof (double llx, double lly, double urx, double ury)
box mkbox (point, point)
boxf mkboxf (pointf, pointf)
box box_bb (box, box)
boxf boxf_bb (boxf, boxf)
box box_intersect (box, box)
boxf boxf_intersect (boxf, boxf)
int box_overlap (box, box)
int boxf_overlap (boxf, boxf)
int box_contains (box, box)
int boxf_contains (boxf, boxf)
box flip_rec_box (box b, point p)
double ptToLine2 (pointf l1, pointf l2, pointf p)
int lineToBox (pointf p1, pointf p2, boxf b)
point ccwrotatep (point p, int ccwrot)
pointf ccwrotatepf (pointf p, int ccwrot)
point cwrotatep (point p, int cwrot)
pointf cwrotatepf (pointf p, int cwrot)
void rect2poly (pointf *p)


Function Documentation

pointf add_pointfs ( pointf  ,
pointf   
)

Definition at line 127 of file geom.c.

References pointf_s::x, and pointf_s::y.

point add_points ( point  ,
point   
)

Definition at line 113 of file geom.c.

References point::x, and point::y.

Referenced by beginpath(), compute_bb(), endpath(), and getPath().

box box_bb ( box  ,
box   
)

Definition at line 159 of file geom.c.

References box::LL, MAX, MIN, box::UR, point::x, and point::y.

int box_contains ( box  ,
box   
)

Definition at line 217 of file geom.c.

box box_intersect ( box  ,
box   
)

Definition at line 183 of file geom.c.

References box::LL, MAX, MIN, box::UR, point::x, and point::y.

int box_overlap ( box  ,
box   
)

Definition at line 207 of file geom.c.

boxf boxf_bb ( boxf  ,
boxf   
)

Definition at line 171 of file geom.c.

References boxf::LL, MAX, MIN, boxf::UR, pointf_s::x, and pointf_s::y.

int boxf_contains ( boxf  ,
boxf   
)

Definition at line 222 of file geom.c.

boxf boxf_intersect ( boxf  ,
boxf   
)

Definition at line 195 of file geom.c.

References boxf::LL, MAX, MIN, boxf::UR, pointf_s::x, and pointf_s::y.

int boxf_overlap ( boxf  ,
boxf   
)

Definition at line 212 of file geom.c.

Referenced by overlap_edge().

boxf boxfof ( double  llx,
double  lly,
double  urx,
double  ury 
)

Definition at line 62 of file geom.c.

References boxf::LL, boxf::UR, pointf_s::x, and pointf_s::y.

box boxof ( int  llx,
int  lly,
int  urx,
int  ury 
)

Definition at line 53 of file geom.c.

References box::LL, box::UR, point::x, and point::y.

Referenced by make_html_label(), and makeSelfEdge().

point ccwrotatep ( point  p,
int  ccwrot 
)

Definition at line 450 of file geom.c.

References ccwrotatep(), cwrotatep(), point::x, and point::y.

Referenced by ccwrotatep(), and cwrotatep().

pointf ccwrotatepf ( pointf  p,
int  ccwrot 
)

Definition at line 478 of file geom.c.

References ccwrotatepf(), cwrotatepf(), pointf_s::x, and pointf_s::y.

Referenced by ccwrotatepf(), and cwrotatepf().

point cvt2pt ( pointf   ) 

Definition at line 37 of file geom.c.

References pointf_s::x, point::x, pointf_s::y, and point::y.

Referenced by coord(), and layout().

pointf cvt2ptf ( point   ) 

Definition at line 45 of file geom.c.

References point::x, pointf_s::x, point::y, and pointf_s::y.

Referenced by spline_edges().

point cwrotatep ( point  p,
int  cwrot 
)

Definition at line 394 of file geom.c.

References ccwrotatep(), cwrotatep(), point::x, and point::y.

Referenced by ccwrotatep(), and cwrotatep().

pointf cwrotatepf ( pointf  p,
int  cwrot 
)

Definition at line 422 of file geom.c.

References ccwrotatepf(), cwrotatepf(), pointf_s::x, and pointf_s::y.

Referenced by ccwrotatepf(), and cwrotatepf().

point exch_xy ( point  p  ) 

Definition at line 141 of file geom.c.

References point::x, and point::y.

pointf exch_xyf ( pointf  p  ) 

Definition at line 150 of file geom.c.

References pointf_s::x, and pointf_s::y.

box flip_rec_box ( box  b,
point  p 
)

Definition at line 506 of file geom.c.

References box::LL, box::UR, point::x, and point::y.

int lineToBox ( pointf  p1,
pointf  p2,
boxf  b 
)

Definition at line 249 of file geom.c.

References boxf::LL, boxf::UR, pointf_s::x, and pointf_s::y.

box mkbox ( point  ,
point   
)

Definition at line 71 of file geom.c.

References box::LL, box::UR, point::x, and point::y.

boxf mkboxf ( pointf  ,
pointf   
)

Definition at line 92 of file geom.c.

References boxf::LL, boxf::UR, pointf_s::x, and pointf_s::y.

pointf pointfof ( double  ,
double   
)

Definition at line 30 of file geom.c.

References pointf_s::x, and pointf_s::y.

point pointof ( int  ,
int   
)

Definition at line 23 of file geom.c.

References point::x, and point::y.

Referenced by compute_bb(), dotneato_postprocess(), and translate_bb().

double ptToLine2 ( pointf  l1,
pointf  l2,
pointf  p 
)

Definition at line 525 of file geom.c.

References pointf_s::x, and pointf_s::y.

void rect2poly ( pointf p  ) 

Definition at line 359 of file geom.c.

References pointf_s::x, and pointf_s::y.

Referenced by emit_map_rect().

pointf sub_pointfs ( pointf  ,
pointf   
)

Definition at line 134 of file geom.c.

References pointf_s::x, and pointf_s::y.

point sub_points ( point  ,
point   
)

Definition at line 120 of file geom.c.

References point::x, and point::y.

Referenced by compute_bb().


Generated on Mon Mar 31 19:04:30 2008 for Graphviz by  doxygen 1.5.1