Lines Matching defs:subpaths
413 Geom::PathVector subpaths = path_from_piecewise(last_pwd2, 0.1);
414 std::pair<std::size_t, std::size_t> positions = get_positions(index, subpaths);
415 D2<SBasis> A = last_pwd2[last_index(index, subpaths)];
419 if(!subpaths[positions.first].closed()){
446 Geom::PathVector subpaths = path_from_piecewise(last_pwd2, 0.1);
447 std::pair<std::size_t, std::size_t> positions = get_positions(index, subpaths);
450 u.push(last_pwd2[last_index(index, subpaths)], 1);
452 Geom::Curve * B = subpaths[positions.first][positions.second].duplicate();
455 A = subpaths[positions.first][positions.second-1].duplicate();
456 times = get_times(index-1, subpaths, false);
458 if(!subpaths[positions.first].closed()){
461 times = get_times(last_index(index, subpaths), subpaths, true);
485 std::vector<double> FilletChamferPointArrayParam::get_times(int index, Geom::PathVector subpaths, bool last)
489 std::pair<std::size_t, std::size_t> positions = get_positions(index, subpaths);
491 curve_it1 = subpaths[positions.first][positions.second].duplicate();
506 if (subpaths[positions.first].closed() && last) {
509 } else if (!subpaths[positions.first].closed() && last){
526 if ((subpaths[positions.first].closed() && last && _vector[index - positions.second][Y] == 0) || (subpaths[positions.first].size() > positions.second + 1 && _vector[index + 1][Y] == 0)) {
540 std::pair<std::size_t, std::size_t> FilletChamferPointArrayParam::get_positions(int index, Geom::PathVector subpaths)
545 for (PathVector::const_iterator path_it = subpaths.begin(); path_it != subpaths.end(); ++path_it) {
582 int FilletChamferPointArrayParam::last_index(int index, Geom::PathVector subpaths)
586 for (PathVector::const_iterator path_it = subpaths.begin(); path_it != subpaths.end(); ++path_it) {
802 Geom::PathVector subpaths = path_from_piecewise(_pparam->last_pwd2, 0.1);
803 std::pair<std::size_t, std::size_t> positions = _pparam->get_positions(_index, subpaths);
804 D2<SBasis> A = _pparam->last_pwd2[_pparam->last_index(_index, subpaths)];