Example #1
0
File: P2T.cs Project: miyu/Poly2Tri
 private static void Triangulate(TriangulationContext tcx)
 {
     switch (tcx.Algorithm)
     {
     default:
         DTSweep.Triangulate((DTSweepContext)tcx);
         break;
     }
 }
Example #2
0
 public static void Triangulate(TriangulationContext tcx)
 {
     switch (tcx.Algorithm)
     {
     case TriangulationAlgorithm.DTSweep:
     default:
         DTSweep.Triangulate((DTSweepContext)tcx);
         break;
     }
 }
Example #3
0
 public static void triangulate(TriangulationContext tcx)
 {
     switch (tcx.algorithm())
     {
     //case DTSweep:
     default:
         DTSweep.triangulate((DTSweepContext)tcx);
         break;
     }
 }