MCPcopy Create free account
hub / github.com/axmolengine/axmol / SetOwner

Function SetOwner

3rdparty/clipper2/src/clipper.engine.cpp:478–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476 }
477
478 inline void SetOwner(OutRec* outrec, OutRec* new_owner)
479 {
480 //precondition1: new_owner is never null
481 new_owner->owner = GetRealOutRec(new_owner->owner);
482 OutRec* tmp = new_owner;
483 while (tmp && tmp != outrec) tmp = tmp->owner;
484 if (tmp) new_owner->owner = outrec->owner;
485 outrec->owner = new_owner;
486 }
487
488 static PointInPolygonResult PointInOpPolygon(const Point64& pt, OutPt* op)
489 {

Callers 4

AddLocalMinPolyMethod · 0.85
AddLocalMaxPolyMethod · 0.85
JoinOutrecPathsMethod · 0.85
ProcessHorzJoinsMethod · 0.85

Calls 1

GetRealOutRecFunction · 0.85

Tested by

no test coverage detected