Beispiel #1
0
        //------------------------------------------------------------------------------

        internal void DisposeOutRec(int index)
        {
            ClipperOutRec outRec = m_PolyOuts[index];

            outRec.Pts        = null;
            outRec            = null;
            m_PolyOuts[index] = null;
        }
Beispiel #2
0
        //------------------------------------------------------------------------------

        internal ClipperOutRec CreateOutRec()
        {
            ClipperOutRec result = new ClipperOutRec
            {
                Idx       = Unassigned,
                IsHole    = false,
                IsOpen    = false,
                FirstLeft = null,
                Pts       = null,
                BottomPt  = null,
                PolyNode  = null
            };

            m_PolyOuts.Add(result);
            result.Idx = m_PolyOuts.Count - 1;
            return(result);
        }