Lines Matching defs:cIndex
1244 // Works out if the segment conn[cIndex-1]--conn[cIndex] really crosses poly.
1250 bool polyIsConn, Avoid::Polygon& conn, size_t cIndex,
1268 // cIndex is going to be the last, so take into account added points.
1269 cIndex += (conn.size() - conn_pn);
1271 COLA_ASSERT(cIndex >= 1);
1272 COLA_ASSERT(cIndex < conn.size());
1284 Avoid::Point& a1 = conn.ps[cIndex - 1];
1285 Avoid::Point& a2 = conn.ps[cIndex];
1371 trace_c = (int) cIndex;
1387 else if (cIndex >= 2)
1390 Avoid::Point& a0 = conn.ps[cIndex - 2];
1401 trace_c = (int) cIndex;
1455 (xPos == conn.ps[cIndex].x)) )
1469 (yPos == conn.ps[cIndex].y)) )
1693 else if (cIndex >= 2)
1699 COLA_ASSERT(cIndex >= 2);
1703 Avoid::Point& a0 = conn.ps[cIndex - 2];