예제 #1
0
 public void BindShapes(ShapeFile shapes)
 {
     foreach (var trip in this)
     {
         if (!trip.BindShape(shapes))
         {
             Console.WriteLine("[BIND_SHAPE_ISSUE]");
         }
     }
 }
예제 #2
0
파일: Trip.cs 프로젝트: prerakc/halton-flow
 public bool BindShape(ShapeFile shapes)
 {
     foreach (var shp in shapes)
     {
         if (shp.Id == ShapeId)
         {
             _shape = shp; return(true);
         }
     }
     return(false);
 }