Exemplo n.º 1
0
        private void FinalizationPolygon(SweepContext tcx)
        {
            // Get an Internal triangle to start with
            Triangle t = tcx.Front._head.Next.Triangle;
            TriPoint p = tcx.Front._head.Next.Point;

            while (!t.GetConstrainedEdgeCW(p))
            {
                t = t.NeighborCCW(p);
            }

            tcx.MeshClean(t);
        }