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

Method SwapFrontBackSides

CSharp/Clipper2Lib/Clipper.Engine.cs:742–751  ·  view source on GitHub ↗
(OutRec outrec)

Source from the content-addressed store, hash-verified

740 }
741
742 [MethodImpl(MethodImplOptions.AggressiveInlining)]
743 private static void SwapFrontBackSides(OutRec outrec)
744 {
745 // while this proc. is needed for open paths
746 // it's almost never needed for closed paths
747 Active ae2 = outrec.frontEdge!;
748 outrec.frontEdge = outrec.backEdge;
749 outrec.backEdge = ae2;
750 outrec.pts = outrec.pts!.next;
751 }
752
753 [MethodImpl(MethodImplOptions.AggressiveInlining)]
754 private static bool EdgesAdjacentInAEL(IntersectNode inode)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected