Path: fixed Command unit test
This commit is contained in:
@@ -52,7 +52,7 @@ namespace Path
|
||||
Base::Placement getPlacement (void) const; // returns a placement from the x,y,z,a,b,c parameters
|
||||
Base::Vector3d getCenter (void) const; // returns a 3d vector from the i,j,k parameters
|
||||
void setCenter(const Base::Vector3d&, bool clockwise=true); // sets the center coordinates and the command name
|
||||
std::string toGCode (int precision=5, bool padzero=true) const; // returns a GCode string representation of the command
|
||||
std::string toGCode (int precision=6, bool padzero=true) const; // returns a GCode string representation of the command
|
||||
void setFromGCode (const std::string&); // sets the parameters from the contents of the given GCode string
|
||||
void setFromPlacement (const Base::Placement&); // sets the parameters from the contents of the given placement
|
||||
bool has(const std::string&) const; // returns true if the given string exists in the parameters
|
||||
|
||||
Reference in New Issue
Block a user