Lines Matching defs:c_path
1281 std::vector<Avoid::Point *> c_path;
1297 c_path.clear();
1424 c_path.push_back(&conn.ps[index_c]);
1426 if ((c_path.size() > 1) &&
1437 bool front_same = (*(c_path.front()) == *(p_path.front()));
1438 bool back_same = (*(c_path.back()) == *(p_path.back()));
1440 size_t size = c_path.size();
1446 if (c_path[startPt]->x == c_path[startPt + 1]->x)
1449 double xPos = c_path[startPt]->x;
1463 double yPos = c_path[startPt]->y;
1483 prevTurnDir = vecDir(*c_path[0], *c_path[1], *c_path[2]);
1484 startCornerSide = Avoid::cornerSide(*c_path[0], *c_path[1],
1485 *c_path[2], *p_path[0])
1486 * segDir(*c_path[1], *c_path[2]);
1492 prevTurnDir = vecDir(*c_path[size - 3],
1493 *c_path[size - 2], *c_path[size - 1]);
1494 endCornerSide = Avoid::cornerSide(*c_path[size - 3],
1495 *c_path[size - 2], *c_path[size - 1],
1497 * segDir(*c_path[size - 3], *c_path[size - 2]);
1514 int cStartDir = vecDir(*c_path[0], *c_path[1], *c_path[2]);
1523 segDir(*c_path[1], *c_path[2]);
1527 int cEndDir = vecDir(*c_path[size - 3],
1528 *c_path[size - 2], *c_path[size - 1]);
1538 *c_path[size - 3], *c_path[size - 2]);
1548 COLA_ASSERT(c_path.size() > 0 || back_same);
1549 size_t adj_size = (c_path.size() - ((back_same) ? 0 : 1));
1552 Avoid::Point& an = *(c_path[i]);
1555 vecDir(*c_path[i - 1], an,
1556 *c_path[i + 1]) : 0;
1584 COLA_ASSERT(c_path.size() > (startPt + 1));
1593 COLA_ASSERT(c_path.size() > 0 || back_same);
1594 size_t adj_size = (c_path.size() - ((back_same) ? 0 : 1));
1597 Avoid::Point& an = *(c_path[i]);
1602 if ((i > 0) && (*(c_path[i - 1]) == *(p_path[i - 1])))
1604 thisDir = segDir(*c_path[i - 1], *c_path[i]);
1615 Avoid::Point& ap = *(c_path[i - 1]);
1688 crossingPoints->insert(*c_path[1]);