public MeshClean ( DelaunayTriangle triangle ) : void | ||
triangle | DelaunayTriangle | |
리턴 | void |
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); }
private 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); }