|
Graphviz 14.0.3~dev.20251104.0241
|
Go to the source code of this file.
Macros | |
| #define | TRI_API /* nothing */ |
Typedefs | |
| typedef Ppoint_t(* | indexer_t) (void *base, size_t index) |
Enumerations | |
| enum | { ISCCW = 1 , ISCW = 2 , ISON = 3 } |
return value from ccw More... | |
Functions | |
| TRI_API int | Ptriangulate (Ppoly_t *polygon, void(*fn)(void *closure, const Ppoint_t tri[]), void *vc) |
| int | ccw (Ppoint_t p1, Ppoint_t p2, Ppoint_t p3) |
| are the given points counter-clockwise, clockwise, or co-linear? | |
| bool | isdiagonal (size_t i, size_t ip2, void *pointp, size_t pointn, indexer_t indexer) |
| is (i, i + 2) a diagonal? | |
| anonymous enum |
Definition at line 23 of file triang.c.
References ISCCW, ISCW, ISON, Pxy_t::x, and Pxy_t::y.
Referenced by between(), convert(), finddqsplit(), intersects(), isdiagonal(), pointintri(), and Pshortestpath().
| bool isdiagonal | ( | size_t | i, |
| size_t | ip2, | ||
| void * | pointp, | ||
| size_t | pointn, | ||
| indexer_t | indexer | ||
| ) |
Definition at line 120 of file triang.c.
References ccw(), intersects(), ISCCW, and ISCW.
Referenced by triangulate(), and triangulate().