21#ifdef PATHPLAN_EXPORTS
22#define TRI_API __declspec(dllexport)
24#define TRI_API __declspec(dllimport)
58bool isdiagonal(
size_t i,
size_t ip2,
void *pointp,
size_t pointn,
bool intersects(Ppoint_t pa, Ppoint_t pb, Ppoint_t pc, Ppoint_t pd)
line to line intersection
bool isdiagonal(size_t i, size_t ip2, void *pointp, size_t pointn, indexer_t indexer)
is (i, i + 2) a diagonal?
bool between(Ppoint_t pa, Ppoint_t pb, Ppoint_t pc)
is pb between pa and pc?
int ccw(Ppoint_t p1, Ppoint_t p2, Ppoint_t p3)
are the given points counter-clockwise, clockwise, or co-linear?
TRI_API int Ptriangulate(Ppoly_t *polygon, void(*fn)(void *closure, const Ppoint_t tri[]), void *vc)
Ppoint_t(* indexer_t)(void *base, size_t index)