From c48b4261829669dcf0124f2ea056b9ff21725702 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Fri, 17 Feb 2023 13:19:54 +0000 Subject: [PATCH] Fix source comment and documentation typos [skip ci] --- src/Mod/Draft/importDXF.py | 2 +- src/Mod/Path/libarea/Adaptive.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Draft/importDXF.py b/src/Mod/Draft/importDXF.py index 809325b933..1ae4772e6c 100644 --- a/src/Mod/Draft/importDXF.py +++ b/src/Mod/Draft/importDXF.py @@ -410,7 +410,7 @@ def calcBulge(v1, bulge, v2): Returns ------- Base::Vector3 - The new point betwwen `v1` and `v2`. + The new point between `v1` and `v2`. """ chord = v2.sub(v1) sagitta = (bulge * chord.Length)/2 diff --git a/src/Mod/Path/libarea/Adaptive.cpp b/src/Mod/Path/libarea/Adaptive.cpp index 5c9f194a19..c1b1c486b3 100644 --- a/src/Mod/Path/libarea/Adaptive.cpp +++ b/src/Mod/Path/libarea/Adaptive.cpp @@ -1451,7 +1451,7 @@ double Adaptive2d::CalcCutArea(Clipper &clip, const IntPoint &c1, const IntPoint interPath->push_back(IntPoint(*p2)); } else - { // prev point inside, current point outside, find instersection + { // prev point inside, current point outside, find intersection if (Line2CircleIntersect(c2, toolRadiusScaled, *p1, *p2, inters)) { if (inters.size() > 1)