Graphviz  2.41.20170921.2350
Functions
geomprocs.h File Reference
#include "geom.h"
Include dependency graph for geomprocs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

box mkbox (point p, point q)
 
boxf mkboxf (pointf p, pointf q)
 
box flip_rec_box (box b, point p)
 
boxf flip_rec_boxf (boxf b, pointf 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)
 
int line_intersect (pointf a, pointf b, pointf c, pointf d, pointf *p)
 

Function Documentation

point ccwrotatep ( point  p,
int  ccwrot 
)

Definition at line 292 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 320 of file geom.c.

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

Referenced by ccwrotatepf(), and cwrotatepf().

point cwrotatep ( point  p,
int  cwrot 
)

Definition at line 236 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 264 of file geom.c.

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

Referenced by ccwrotatepf(), and cwrotatepf().

box flip_rec_box ( box  b,
point  p 
)
inline

Definition at line 348 of file geom.c.

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

boxf flip_rec_boxf ( boxf  b,
pointf  p 
)

Definition at line 364 of file geom.c.

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

int line_intersect ( pointf  a,
pointf  b,
pointf  c,
pointf  d,
pointf p 
)

Definition at line 407 of file geom.c.

References dot, and SMALL.

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

Definition at line 89 of file geom.c.

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

box mkbox ( point  p,
point  q 
)

Definition at line 25 of file geom.c.

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

boxf mkboxf ( pointf  p,
pointf  q 
)

Definition at line 46 of file geom.c.

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

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

Definition at line 390 of file geom.c.

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

void rect2poly ( pointf p)

Definition at line 201 of file geom.c.

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

Referenced by emit_map_rect().