1 #ifndef _THREEPOINTSTRATEGY
2 #define _THREEPOINTSTRATEGY
4 #include "LevelingStrategy.h"
9 #define three_point_leveling_strategy_checksum CHECKSUM("three-point-leveling")
14 class ThreePointStrategy
: public LevelingStrategy
17 ThreePointStrategy(ZProbe
*zprobe
);
18 ~ThreePointStrategy();
19 bool handleGcode(Gcode
* gcode
);
21 float getZOffset(float x
, float y
);
25 bool doProbing(StreamOutput
*stream
);
26 std::tuple
<float, float> parseXY(const char *str
);
27 std::tuple
<float, float, float> parseXYZ(const char *str
);
28 void setAdjustFunction(bool);
30 std::tuple
<float, float, float> probe_offsets
;
31 std::tuple
<float, float> probe_points
[3];