Lines Matching refs:box1
52 BoxF box1(0.f, 0.f, 0.f, 1.f, 1.f, 1.f);
57 EXPECT_EQ(box1.ToString(), UnionBoxes(empty_box, box1).ToString());
58 EXPECT_EQ(box1.ToString(), UnionBoxes(box1, empty_box).ToString());
65 EXPECT_EQ(box2.ToString(), UnionBoxes(box1, box2).ToString());
66 EXPECT_EQ(box2.ToString(), UnionBoxes(box2, box1).ToString());
70 UnionBoxes(box1, box3).ToString());
72 UnionBoxes(box3, box1).ToString());
82 BoxF box1;
98 box1.ExpandTo(point1);
99 EXPECT_EQ(expected1_1.ToString(), box1.ToString());
100 box1.ExpandTo(point2);
101 EXPECT_EQ(expected1_2.ToString(), box1.ToString());
115 BoxF box1(2.f, 3.f, 4.f, 5.f, 6.f, 7.f);
117 EXPECT_EQ(BoxF().ToString(), ScaleBox(box1, 0.f).ToString());
118 EXPECT_EQ(box1.ToString(), ScaleBox(box1, 1.f).ToString());
120 ScaleBox(box1, 2.f, 4.f, 6.f).ToString());
122 BoxF box2 = box1;
126 box2 = box1;
128 EXPECT_EQ(box1.ToString(), box2.ToString());
161 BoxF box1(2.f, 3.f, 4.f, 5.f, 6.f, 7.f);
163 EXPECT_EQ(box1.ToString(), (box1 + Vector3dF(0.f, 0.f, 0.f)).ToString());
165 (box1 + Vector3dF(1.f, -2.f, -4.f)).ToString());
167 BoxF box2 = box1;
169 EXPECT_EQ(box1.ToString(), box2.ToString());