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

Method PoolDeletedActive

CSharp/Clipper2Lib/Clipper.Engine.cs:1820–1840  ·  view source on GitHub ↗
(Active ae)

Source from the content-addressed store, hash-verified

1818 }
1819
1820 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1821 private void PoolDeletedActive(Active ae)
1822 {
1823 //clear refs to allow GC
1824 ae.bot = new Point64();
1825 ae.top = new Point64();
1826 ae.dx = 0.0;
1827 ae.windCount = 0;
1828 ae.windCount2 = 0;
1829 ae.outrec = null;
1830 ae.prevInAEL = null;
1831 ae.nextInAEL = null;
1832 ae.prevInSEL = null;
1833 ae.nextInSEL = null;
1834 ae.jump = null;
1835 ae.vertexTop = null;
1836 ae.localMin = new LocalMinima();
1837 ae.isLeftBound = false;
1838 ae.joinWith = JoinWith.None;
1839 _freeActives.Push(ae);
1840 }
1841
1842 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1843 private Active NewActive()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected