Lines Matching defs:curve_index
133 size_type curve_index; ///< Index of the curve in the path
135 PathTime() : t(0), curve_index(0) {}
136 PathTime(size_type idx, Coord tval) : t(tval), curve_index(idx) {}
139 if (curve_index < other.curve_index) return true;
140 if (curve_index == other.curve_index) {
146 return curve_index == other.curve_index && t == other.t;
151 curve_index = (curve_index + 1) % path_size;
158 curve_index = (curve_index - 1) % path_size;
163 Coord asFlatTime() const { return curve_index + t; }
167 os << pos.curve_index << ": " << format_coord_nice(pos.t);
853 return pt.curve_index + pt.t;