Exemplo n.º 1
0
 private static IEnumerable <Cube3DIntersection> GetPreconfiguredCubes3DIntersection()
 {
     return(new List <Cube3DIntersection>()
     {
         new Cube3DIntersection()
         {
             FirstCube3D = new Cube3D
             {
                 PointCoordinates = Point3D.Create(1, 1, 2, 2, 2)
             },
             SecondCube3D = new Cube3D
             {
                 PointCoordinates = Point3D.Create(2, 2, 4, 2, 2)
             },
             EdgesLength = 2
         },
         new Cube3DIntersection()
         {
             FirstCube3D = new Cube3D
             {
                 PointCoordinates = Point3D.Create(3, 3, 2, 2, 2)
             },
             SecondCube3D = new Cube3D
             {
                 PointCoordinates = Point3D.Create(4, 4, 3, 2, 2)
             },
             EdgesLength = 2
         },
         new Cube3DIntersection()
         {
             FirstCube3D = new Cube3D
             {
                 PointCoordinates = Point3D.Create(5, 5, 2, 2, 2)
             },
             SecondCube3D = new Cube3D
             {
                 PointCoordinates = Point3D.Create(6, 6, 10, 10, 10)
             },
             EdgesLength = 2
         }
     });
 }