* Update a point given the arguments of a command. */
| 136 | * Update a point given the arguments of a command. |
| 137 | */ |
| 138 | QVector3D GcodePreprocessorUtils::updatePointWithCommand(const QString &command, const QVector3D &initial, bool absoluteMode) |
| 139 | { |
| 140 | QStringList l = splitCommand(command); |
| 141 | QVector4D tmp = updatePointWithCommand(l, initial, absoluteMode); |
| 142 | QVector3D ret(tmp.x(), tmp.y(), tmp.z()); |
| 143 | |
| 144 | return ret; |
| 145 | } |
| 146 | |
| 147 | /** |
| 148 | * Update a point given the arguments of a command, using a pre-parsed list. |