|
GCode Processor
|
Holds the parameter of the extruder read from the input .gcode file.
More...
#include <GCodeLineEntry.h>
Public Member Functions | |
| GCodeLineEntry (short g, double x, double y, double e) noexcept | |
| Constructor. More... | |
| GCodeLineEntry ()=default | |
| Default constructor. | |
Static Public Member Functions | |
| static double | angle (const GCodeLineEntry &A, const GCodeLineEntry &B, const GCodeLineEntry &C) noexcept |
| Distance between the coordinates of two entries. More... | |
| static GCodeLineEntry | point_between (const GCodeLineEntry &A, const GCodeLineEntry &B, const double d) noexcept |
| Creates a point on the segment AB with a specified distance from the second point. More... | |
| static double | distance (const GCodeLineEntry &A, const GCodeLineEntry &B) noexcept |
| Angle ABC (in degrees) between two segments (i.e. three points). More... | |
Public Attributes | |
| short | G |
| The extruder index. | |
| double | X |
| The x coordinate. | |
| double | Y |
| The y coordinate. | |
| double | E |
| Length of the filament to extrude. | |
Holds the parameter of the extruder read from the input .gcode file.
|
inlineexplicitnoexcept |
Constructor.
| g | The G (extruder index) entry. |
| x | The X (x coordinate) entry. |
| y | The Y (y coordinate) entry. |
| e | The filament length to push out. |
|
staticnoexcept |
Distance between the coordinates of two entries.
| A | The first coordinate. |
| B | The second coordinate. |
static member variable just because I want it to be in the GCodeLineEntry namespace. throw if the G's don't match!
|
staticnoexcept |
Angle ABC (in degrees) between two segments (i.e. three points).
| A | The first point. |
| B | The second point. |
| C | The third point. |
static member variable just because I want it to be in the GCodeLineEntry namespace. throw if the G's don't match!
|
staticnoexcept |
Creates a point on the segment AB with a specified distance from the second point.
| A | The first coordinate. |
| B | The second coordinate. |
| d | The distance from the second point. |
static member variable just because I want it to be in the GCodeLineEntry namespace. throw if the G's don't match!
1.8.11