Exemple #1
0
 public static Orthotope2Double Intersect(IEnumerable <Orthotope2Double> orthotopes)
 {
     return(new Orthotope2Double(OrderedRange <double> .Intersect(orthotopes.Select(orthotope => orthotope.rangeX)), OrderedRange <double> .Intersect(orthotopes.Select(orthotope => orthotope.rangeY))));
 }
 public static Orthotope2Integer Intersect(IEnumerable <Orthotope2Integer> orthotopes)
 {
     return(new Orthotope2Integer(OrderedRange <int> .Intersect(orthotopes.Select(orthotope => orthotope.rangeX)), OrderedRange <int> .Intersect(orthotopes.Select(orthotope => orthotope.rangeY))));
 }