From 873f8e3ea768e4f76fa85788bbeaba0563ba33ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Skowro=C5=84ski?= Date: Sun, 26 Jun 2016 08:04:31 +0200 Subject: [PATCH] Fix files encoding. Go from ISO8859-1 to UTF-8. --- src/3rdParty/salomesmesh/src/SMESH/SMESH_Octree.cpp | 2 +- src/Mod/Path/libarea/clipper.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/3rdParty/salomesmesh/src/SMESH/SMESH_Octree.cpp b/src/3rdParty/salomesmesh/src/SMESH/SMESH_Octree.cpp index e7b049722..a66d4e4b4 100644 --- a/src/3rdParty/salomesmesh/src/SMESH/SMESH_Octree.cpp +++ b/src/3rdParty/salomesmesh/src/SMESH/SMESH_Octree.cpp @@ -23,7 +23,7 @@ // SMESH SMESH_Octree : Octree implementation // File : SMESH_Octree.cxx // Created : Tue Jan 16 16:00:00 2007 -// Author : Nicolas Geimer & Aurélien Motteux(OCC) +// Author : Nicolas Geimer & Aurélien Motteux(OCC) // Module : SMESH // #include "SMESH_Octree.hxx" diff --git a/src/Mod/Path/libarea/clipper.cpp b/src/Mod/Path/libarea/clipper.cpp index bb0bfebc9..8237520e1 100644 --- a/src/Mod/Path/libarea/clipper.cpp +++ b/src/Mod/Path/libarea/clipper.cpp @@ -4161,10 +4161,10 @@ double DistanceFromLineSqrd( const IntPoint& pt, const IntPoint& ln1, const IntPoint& ln2) { //The equation of a line in general form (Ax + By + C = 0) - //given 2 points (x¹,y¹) & (x²,y²) is ... - //(y¹ - y²)x + (x² - x¹)y + (y² - y¹)x¹ - (x² - x¹)y¹ = 0 - //A = (y¹ - y²); B = (x² - x¹); C = (y² - y¹)x¹ - (x² - x¹)y¹ - //perpendicular distance of point (x³,y³) = (Ax³ + By³ + C)/Sqrt(A² + B²) + //given 2 points (x¹,y¹) & (x²,y²) is ... + //(y¹ - y²)x + (x² - x¹)y + (y² - y¹)x¹ - (x² - x¹)y¹ = 0 + //A = (y¹ - y²); B = (x² - x¹); C = (y² - y¹)x¹ - (x² - x¹)y¹ + //perpendicular distance of point (x³,y³) = (Ax³ + By³ + C)/Sqrt(A² + B²) //see http://en.wikipedia.org/wiki/Perpendicular_distance double A = double(ln1.Y - ln2.Y); double B = double(ln2.X - ln1.X);