Lines Matching refs:TESS_LOG
21 #define TESS_LOG printf macro
24 #define TESS_LOG(...) macro
95 TESS_LOG("emit_triangle %g (%g, %g) %d\n", v0->fID, v0->fPoint.fX, v0->fPoint.fY, v0->fAlpha); in emit_triangle()
96 TESS_LOG(" %g (%g, %g) %d\n", v1->fID, v1->fPoint.fX, v1->fPoint.fY, v1->fAlpha); in emit_triangle()
97 TESS_LOG(" %g (%g, %g) %d\n", v2->fID, v2->fPoint.fX, v2->fPoint.fY, v2->fAlpha); in emit_triangle()
251 TESS_LOG("intersecting %g -> %g with %g -> %g\n", in intersect()
294 TESS_LOG("removing edge %g -> %g\n", edge->fTop->fID, edge->fBottom->fID); in remove()
388 TESS_LOG("*** created Poly %d\n", fID); in Poly()
393 TESS_LOG("addEdge (%g -> %g) to poly %d, %s side\n", in addEdge()
437 TESS_LOG("emit() %d, size %d\n", poly->fID, poly->fCount); in emitPoly()
629 TESS_LOG("inserting edge %g -> %g\n", edge->fTop->fID, edge->fBottom->fID); in insert()
658 TESS_LOG("insert edge (%g -> %g) above vertex %g\n", fTop->fID, fBottom->fID, v->fID); in insertAbove()
676 TESS_LOG("insert edge (%g -> %g) below vertex %g\n", fTop->fID, fBottom->fID, v->fID); in insertBelow()
691 TESS_LOG("removing edge (%g -> %g) above vertex %g\n", edge->fTop->fID, edge->fBottom->fID, in remove_edge_above()
699 TESS_LOG("removing edge (%g -> %g) below vertex %g\n", in remove_edge_below()
715 TESS_LOG("rewinding active edges from vertex %g to vertex %g\n", v->fID, dst->fID); in rewind()
805 TESS_LOG("merging coincident above edges (%g, %g) -> (%g, %g)\n", in mergeEdgesAbove()
826 TESS_LOG("merging coincident below edges (%g, %g) -> (%g, %g)\n", in mergeEdgesBelow()
886 TESS_LOG("splitting edge (%g -> %g) at vertex %g (%g, %g)\n", in splitEdge()
970 TESS_LOG("found coincident verts at %g, %g; merging %g into %g\n", in mergeVertices()
1052 TESS_LOG("computed bisector (%g,%g) alpha %d for vertex %g\n", p.fX, p.fY, alpha, v->fID); in computeBisector()
1066 TESS_LOG("found intersection, pt is %g, %g\n", p.fX, p.fY); in checkForIntersection()
1123 TESS_LOG("vertex %g,%g coincident; removing\n", v->fPoint.fX, v->fPoint.fY); in sanitizeContours()
1126 TESS_LOG("vertex %g,%g non-finite; removing\n", v->fPoint.fX, v->fPoint.fY); in sanitizeContours()
1130 TESS_LOG("vertex %g,%g collinear; removing\n", v->fPoint.fX, v->fPoint.fY); in sanitizeContours()
1242 TESS_LOG("vertex %g (%g, %g) alpha %d", v->fID, v->fPoint.fX, v->fPoint.fY, v->fAlpha); in dump()
1244 TESS_LOG(", partner %g (%g, %g) alpha %d\n", in dump()
1247 TESS_LOG(", null partner\n"); in dump()
1250 TESS_LOG(" edge %g -> %g, winding %d\n", e->fTop->fID, e->fBottom->fID, e->fWinding); in dump()
1253 TESS_LOG(" edge %g -> %g, winding %d\n", e->fTop->fID, e->fBottom->fID, e->fWinding); in dump()
1298 TESS_LOG("simplifying complex polygons\n"); in simplify()
1309 TESS_LOG("\nvertex %g: (%g,%g), alpha %d\n", in simplify()
1354 TESS_LOG("\ntessellating simple polygons\n"); in tessellate()
1362 TESS_LOG("\nvertex %g: (%g,%g), alpha %d\n", v->fID, v->fPoint.fX, v->fPoint.fY, v->fAlpha); in tessellate()
1377 TESS_LOG("edges above:\n"); in tessellate()
1379 TESS_LOG("%g -> %g, lpoly %d, rpoly %d\n", in tessellate()
1384 TESS_LOG("edges below:\n"); in tessellate()
1386 TESS_LOG("%g -> %g, lpoly %d, rpoly %d\n", in tessellate()
1455 TESS_LOG("\nactive edges:\n"); in tessellate()
1457 TESS_LOG("%g -> %g, lpoly %d, rpoly %d\n", in tessellate()
1475 TESS_LOG("path.moveTo(%20.20g, %20.20g);\n", v->fPoint.fX, v->fPoint.fY); in contoursToMesh()
1477 TESS_LOG("path.lineTo(%20.20g, %20.20g);\n", v->fPoint.fX, v->fPoint.fY); in contoursToMesh()
1510 TESS_LOG("\ninitial mesh:\n"); in contoursToPolys()
1513 TESS_LOG("\nsorted mesh:\n"); in contoursToPolys()
1516 TESS_LOG("\nsorted+merged mesh:\n"); in contoursToPolys()
1519 TESS_LOG("\nsimplified mesh:\n"); in contoursToPolys()
1614 TESS_LOG("emitting %d verts\n", count); in polysToTriangles()