Lines Matching refs:cusps
47 // find cusps, except at start/end for closed paths.
52 std::vector<double> cusps;
53 // cusps are spots where the derivative jumps.
56 // there is a jump in the derivative, so add it to the cusps list
57 cusps.push_back(deriv.cuts[i]);
60 return cusps;
89 // connecting lines should be put at cusps
91 std::vector<double> cusps; // = roots(deriv);
92 for (unsigned i = 0; i < cusps.size() ; ++i) {
93 pwd2_out.concat( connector + pwd2_in.valueAt(cusps[i]) );
114 std::vector<double> cusps = find_cusps(pwd2_in);
128 connector_pts = cusps;
129 } else if (cusps.empty()) {
133 connector_pts.insert(connector_pts.begin(), cusps.begin(), cusps.end());