示例#1
0
文件: P2T.cs 项目: miyu/Poly2Tri
 private static void Triangulate(TriangulationContext tcx)
 {
     switch (tcx.Algorithm)
     {
     default:
         DTSweep.Triangulate((DTSweepContext)tcx);
         break;
     }
 }
示例#2
0
 public static void Triangulate(TriangulationContext tcx)
 {
     switch (tcx.Algorithm)
     {
     case TriangulationAlgorithm.DTSweep:
     default:
         DTSweep.Triangulate((DTSweepContext)tcx);
         break;
     }
 }
示例#3
0
 public static void triangulate(TriangulationContext tcx)
 {
     switch (tcx.algorithm())
     {
     //case DTSweep:
     default:
         DTSweep.triangulate((DTSweepContext)tcx);
         break;
     }
 }