diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-10-25 16:18:58 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-10-25 16:18:58 +0100 |
| commit | 64312b33672a1c24feefa5127f91666f3b25f583 (patch) | |
| tree | 6e51c947c0b610664d41045a107be6f7ef334625 /src/transformations | |
| parent | 32f92851c0028e1ff6d5203d34c7ded1ffe1951a (diff) | |
| download | PROJ-64312b33672a1c24feefa5127f91666f3b25f583.tar.gz PROJ-64312b33672a1c24feefa5127f91666f3b25f583.zip | |
Fix typos spotted by scripts/fix_typos.sh
Diffstat (limited to 'src/transformations')
| -rw-r--r-- | src/transformations/defmodel.hpp | 6 | ||||
| -rw-r--r-- | src/transformations/defmodel_impl.hpp | 4 | ||||
| -rw-r--r-- | src/transformations/tinshift.hpp | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/transformations/defmodel.hpp b/src/transformations/defmodel.hpp index 642213b7..1b0005b1 100644 --- a/src/transformations/defmodel.hpp +++ b/src/transformations/defmodel.hpp @@ -181,7 +181,7 @@ class Component { /** Get the spatial model. */ const SpatialModel &spatialModel() const { return mSpatialModel; } - /** Generic type for a type functon */ + /** Generic type for a type function */ struct TimeFunction { std::string type{}; @@ -369,13 +369,13 @@ class MasterFile { * models. Typically "EPSG:XXXX" */ const std::string &definitionCRS() const { return mDefinitionCRS; } - /** Get the nominal reference epoch of the deformation model. Formated + /** Get the nominal reference epoch of the deformation model. Formatted * as a ISO-8601 date-time. This is not necessarily used to calculate * the deformation model - each component defines its own time function. */ const std::string &referenceEpoch() const { return mReferenceEpoch; } /** Get the epoch at which the uncertainties of the deformation model - * are calculated. Formated as a ISO-8601 date-time. */ + * are calculated. Formatted as a ISO-8601 date-time. */ const std::string &uncertaintyReferenceEpoch() const { return mUncertaintyReferenceEpoch; } diff --git a/src/transformations/defmodel_impl.hpp b/src/transformations/defmodel_impl.hpp index a15137d7..abd07286 100644 --- a/src/transformations/defmodel_impl.hpp +++ b/src/transformations/defmodel_impl.hpp @@ -1232,7 +1232,7 @@ bool Evaluator<Grid, GridSet, EvaluatorIface>::inverse( constexpr bool forInverseComputation = true; for (int i = 0; i < 10; i++) { #ifdef DEBUG_DEFMODEL - iface.log("Iteration " + std::to_string(i) + ": before foward: x=" + + iface.log("Iteration " + std::to_string(i) + ": before forward: x=" + toString(x_out) + ", y=" + toString(y_out)); #endif double x_new; @@ -1243,7 +1243,7 @@ bool Evaluator<Grid, GridSet, EvaluatorIface>::inverse( return false; } #ifdef DEBUG_DEFMODEL - iface.log("After foward: x=" + toString(x_new) + ", y=" + + iface.log("After forward: x=" + toString(x_new) + ", y=" + toString(y_new)); #endif const double dx = x_new - x; diff --git a/src/transformations/tinshift.hpp b/src/transformations/tinshift.hpp index 7cebab9f..cc8771b3 100644 --- a/src/transformations/tinshift.hpp +++ b/src/transformations/tinshift.hpp @@ -239,7 +239,7 @@ class Evaluator { private: std::unique_ptr<TINShiftFile> mFile; - // Reused between invokations to save memory allocations + // Reused between invocations to save memory allocations std::vector<unsigned> mTriangleIndices{}; std::unique_ptr<NS_PROJ::QuadTree::QuadTree<unsigned>> mQuadTreeForward{}; |
