Exemple #1
0
        public bool Test(Box first, TrianglePair second)
        {
            var secondBound = second.Original.Bounds;

            return((intervalIntersector.Test(first.X, secondBound.X)) &&
                   (intervalIntersector.Test(first.Y, secondBound.Y)) &&
                   (intervalIntersector.Test(first.Z, secondBound.Z)));
        }
Exemple #2
0
 public bool Test(Box first, Box second)
 {
     return((intervalIntersector.Test(first.X, second.X)) &&
            (intervalIntersector.Test(first.Y, second.Y)) &&
            (intervalIntersector.Test(first.Z, second.Z)));
 }