MCPcopy Create free account
hub / github.com/AngusJohnson/Clipper2 / ReverseOutPts

Function ReverseOutPts

CPP/Clipper2Lib/src/clipper.engine.cpp:388–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386 }
387
388 void ReverseOutPts(OutPt* op)
389 {
390 if (!op) return;
391
392 OutPt* op1 = op;
393 OutPt* op2;
394
395 do
396 {
397 op2 = op1->next;
398 op1->next = op1->prev;
399 op1->prev = op2;
400 op1 = op2;
401 } while (op1 != op);
402 }
403
404 inline void SwapSides(OutRec& outrec)
405 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected