コード例 #1
0
ファイル: Fix.cs プロジェクト: wyh9462/XbimWindowsUI
 private int FixFace(IIfcLoop bound)
 {
     if (bound is IIfcPolyLoop)
     {
         return(FixFace((IIfcPolyLoop)bound));
     }
     return(0);
 }
コード例 #2
0
ファイル: GeometryView.cs プロジェクト: wyh9462/XbimWindowsUI
 private static void Report(IIfcLoop bound, TextHighliter sb)
 {
     if (bound is IIfcPolyLoop)
     {
         Report((IIfcPolyLoop)bound, sb);
     }
     else
     {
         sb.Append($"{bound.GetType().Name} not implemented in IIfcLoop.", Brushes.Red);
     }
 }