Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Movement/Grid.h')
-rw-r--r--src/Movement/Grid.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/Movement/Grid.h b/src/Movement/Grid.h
index 2de4e0ba..a1189018 100644
--- a/src/Movement/Grid.h
+++ b/src/Movement/Grid.h
@@ -81,6 +81,8 @@ public:
unsigned int GetStatistics(float& mean, float& deviation) const; // Return number of points probed, mean and RMS deviation
+ void ExtrapolateMissing(); //extrapolate missing points to ensure consistency
+
private:
static const char *HeightMapComment; // The start of the comment we write at the start of the height map file
@@ -92,12 +94,7 @@ private:
uint32_t GetMapIndex(uint32_t xIndex, uint32_t yIndex) const { return (yIndex * def.NumXpoints()) + xIndex; }
bool IsHeightSet(uint32_t index) const { return (gridHeightSet[index/32] & (1 << (index & 31))) != 0; }
- float GetHeightError(uint32_t xIndex, uint32_t yIndex) const;
- float InterpolateX(uint32_t xIndex, uint32_t yIndex, float xFrac) const;
- float InterpolateY(uint32_t xIndex, uint32_t yIndex, float yFrac) const;
float InterpolateXY(uint32_t xIndex, uint32_t yIndex, float xFrac, float yFrac) const;
- float Interpolate2(uint32_t index1, uint32_t index2, float frac) const;
- float InterpolateCorner(uint32_t cornerIndex, uint32_t indexX, uint32_t indexY, float xFrac, float yFrac) const;
};
#endif /* SRC_MOVEMENT_GRID_H_ */