HomeSort by relevance Sort by last modified time
    Searched refs:vertexIndex1 (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/third_party/WebKit/Source/platform/geometry/
FloatPolygon.cpp 64 static unsigned findNextEdgeVertexIndex(const FloatPolygon& polygon, unsigned vertexIndex1, bool clockwise)
67 unsigned vertexIndex2 = nextVertexIndex(vertexIndex1, nVertices, clockwise);
69 while (vertexIndex2 && areCoincidentPoints(polygon.vertexAt(vertexIndex1), polygon.vertexAt(vertexIndex2)))
74 if (!areCollinearPoints(polygon.vertexAt(vertexIndex1), polygon.vertexAt(vertexIndex2), polygon.vertexAt(vertexIndex3)))
107 unsigned vertexIndex1 = 0;
109 m_boundingBox.extend(vertexAt(vertexIndex1));
110 unsigned vertexIndex2 = findNextEdgeVertexIndex(*this, vertexIndex1, clockwise);
112 m_edges[edgeIndex].m_vertexIndex1 = vertexIndex1;
116 vertexIndex1 = vertexIndex2;
117 } while (vertexIndex1);
    [all...]
FloatPolygonTest.cpp 108 EXPECT_EQ(0u, triangle.edgeAt(0).vertexIndex1());
110 EXPECT_EQ(1u, triangle.edgeAt(1).vertexIndex1());
112 EXPECT_EQ(2u, triangle.edgeAt(2).vertexIndex1());
FloatPolygon.h 127 unsigned vertexIndex1() const { return m_vertexIndex1; }

Completed in 69 milliseconds