MCPcopy Create free account
hub / github.com/MarlinFirmware/Marlin / getMeshPoint

Function getMeshPoint

Marlin/src/lcd/extui/ui_api.cpp:875–875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

873
874 bed_mesh_t& getMeshArray() { return bedlevel.z_values; }
875 float getMeshPoint(const xy_uint8_t &pos) { return bedlevel.z_values[pos.x][pos.y]; }
876 void setMeshPoint(const xy_uint8_t &pos, const_float_t zoff) {
877 if (WITHIN(pos.x, 0, (GRID_MAX_POINTS_X) - 1) && WITHIN(pos.y, 0, (GRID_MAX_POINTS_Y) - 1)) {
878 bedlevel.z_values[pos.x][pos.y] = zoff;

Callers 12

onSettingsLoadedFunction · 0.85
onLevelingDoneFunction · 0.85
onMeshUpdateFunction · 0.85
handleDataMethod · 0.85
ablGridMethod · 0.85
GRID_LOOPFunction · 0.85
panelProcessMethod · 0.85
GRID_LOOPFunction · 0.85
meshGetterFunction · 0.85
getHighlightedValueMethod · 0.85
meshGetterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected