Lines Matching refs:edgeAt
101 EXPECT_EQ(FloatPoint(200, 100), triangle.edgeAt(0).vertex1());
102 EXPECT_EQ(FloatPoint(200, 200), triangle.edgeAt(0).vertex2());
103 EXPECT_EQ(FloatPoint(200, 200), triangle.edgeAt(1).vertex1());
104 EXPECT_EQ(FloatPoint(100, 200), triangle.edgeAt(1).vertex2());
105 EXPECT_EQ(FloatPoint(100, 200), triangle.edgeAt(2).vertex1());
106 EXPECT_EQ(FloatPoint(200, 100), triangle.edgeAt(2).vertex2());
108 EXPECT_EQ(0u, triangle.edgeAt(0).vertexIndex1());
109 EXPECT_EQ(1u, triangle.edgeAt(0).vertexIndex2());
110 EXPECT_EQ(1u, triangle.edgeAt(1).vertexIndex1());
111 EXPECT_EQ(2u, triangle.edgeAt(1).vertexIndex2());
112 EXPECT_EQ(2u, triangle.edgeAt(2).vertexIndex1());
113 EXPECT_EQ(0u, triangle.edgeAt(2).vertexIndex2());
115 EXPECT_EQ(200, triangle.edgeAt(0).minX());
116 EXPECT_EQ(200, triangle.edgeAt(0).maxX());
117 EXPECT_EQ(100, triangle.edgeAt(1).minX());
118 EXPECT_EQ(200, triangle.edgeAt(1).maxX());
119 EXPECT_EQ(100, triangle.edgeAt(2).minX());
120 EXPECT_EQ(200, triangle.edgeAt(2).maxX());
122 EXPECT_EQ(100, triangle.edgeAt(0).minY());
123 EXPECT_EQ(200, triangle.edgeAt(0).maxY());
124 EXPECT_EQ(200, triangle.edgeAt(1).minY());
125 EXPECT_EQ(200, triangle.edgeAt(1).maxY());
126 EXPECT_EQ(100, triangle.edgeAt(2).minY());
127 EXPECT_EQ(200, triangle.edgeAt(2).maxY());
129 EXPECT_EQ(0u, triangle.edgeAt(0).edgeIndex());
130 EXPECT_EQ(1u, triangle.edgeAt(1).edgeIndex());
131 EXPECT_EQ(2u, triangle.edgeAt(2).edgeIndex());
133 EXPECT_EQ(2u, triangle.edgeAt(0).previousEdge().edgeIndex());
134 EXPECT_EQ(1u, triangle.edgeAt(0).nextEdge().edgeIndex());
135 EXPECT_EQ(0u, triangle.edgeAt(1).previousEdge().edgeIndex());
136 EXPECT_EQ(2u, triangle.edgeAt(1).nextEdge().edgeIndex());
137 EXPECT_EQ(1u, triangle.edgeAt(2).previousEdge().edgeIndex());
138 EXPECT_EQ(0u, triangle.edgeAt(2).nextEdge().edgeIndex());