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))); }
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))); }