FarseerPhysics.Common.Decomposition.CDT.Delaunay.Sweep.DTSweepContext.MeshClean C# (CSharp) Method

MeshClean() public method

public MeshClean ( DelaunayTriangle triangle ) : void
triangle DelaunayTriangle
return void
        public void MeshClean(DelaunayTriangle triangle)
        {
            MeshCleanReq(triangle);
        }

Usage Example

Example #1
0
        static void FinalizationPolygon(DTSweepContext tcx)
        {
            // Get an Internal triangle to start with
            DelaunayTriangle   t = tcx.aFront.Head.Next.Triangle;
            TriangulationPoint p = tcx.aFront.Head.Next.Point;

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

            // Collect interior triangles constrained by edges
            tcx.MeshClean(t);
        }
All Usage Examples Of FarseerPhysics.Common.Decomposition.CDT.Delaunay.Sweep.DTSweepContext::MeshClean