Skip to content

Commit b4d3368

Browse files
committed
Fix endlines: Source and header files should stick to DOS (CR/LF)
1 parent 09ceec4 commit b4d3368

28 files changed

+6265
-6265
lines changed

Arc.cpp

+13-13
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,19 @@ double CArc::IncludedAngle()const
3838
bool CArc::AlmostALine()const
3939
{
4040
Point mid_point = MidParam(0.5);
41-
if(Line(m_s, m_e - m_s).Dist(mid_point) <= Point::tolerance)
42-
return true;
43-
44-
const double max_arc_radius = 1.0 / Point::tolerance;
45-
double radius = m_c.dist(m_s);
46-
if (radius > max_arc_radius)
47-
{
48-
return true; // We don't want to produce an arc whose radius is too large.
49-
}
50-
51-
return false;
52-
}
53-
41+
if(Line(m_s, m_e - m_s).Dist(mid_point) <= Point::tolerance)
42+
return true;
43+
44+
const double max_arc_radius = 1.0 / Point::tolerance;
45+
double radius = m_c.dist(m_s);
46+
if (radius > max_arc_radius)
47+
{
48+
return true; // We don't want to produce an arc whose radius is too large.
49+
}
50+
51+
return false;
52+
}
53+
5454
Point CArc::MidParam(double param)const {
5555
/// returns a point which is 0-1 along arc
5656
if(fabs(param) < 0.00000000000001)return m_s;

0 commit comments

Comments
 (0)