MCPcopy Create free account
hub / github.com/Schildkroet/Candle2 / updatePointWithCommand

Method updatePointWithCommand

src/parser/gcodepreprocessorutils.cpp:138–145  ·  view source on GitHub ↗

* Update a point given the arguments of a command. */

Source from the content-addressed store, hash-verified

136* Update a point given the arguments of a command.
137*/
138QVector3D 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.

Callers

nothing calls this directly

Calls 1

toUpperMethod · 0.80

Tested by

no test coverage detected