Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/cad/freecad/files/patch-src_Mod_Part_App_Geometry2d.cpp
16151 views
1
--- src/Mod/Part/App/Geometry2d.cpp.orig 2019-10-04 10:33:33 UTC
2
+++ src/Mod/Part/App/Geometry2d.cpp
3
@@ -183,7 +183,7 @@ void Geom2dPoint::Save(Base::Writer &writer) const
4
<< "<Geom2dPoint "
5
<< "X=\"" << Point.x << "\" "
6
<< "Y=\"" << Point.y << "\" "
7
- << "/>" << endl;
8
+ << "/>" << std::endl;
9
}
10
11
void Geom2dPoint::Restore(Base::XMLReader &reader)
12
@@ -875,7 +875,7 @@ void Geom2dCircle::Save(Base::Writer& writer) const
13
SaveAxis(writer, axis);
14
writer.Stream()
15
<< "Radius=\"" << c.Radius() << "\" "
16
- << "/>" << endl;
17
+ << "/>" << std::endl;
18
}
19
20
void Geom2dCircle::Restore(Base::XMLReader& reader)
21
@@ -990,7 +990,7 @@ void Geom2dArcOfCircle::Save(Base::Writer &writer) con
22
SaveAxis(writer, axis, u, v);
23
writer.Stream()
24
<< "Radius=\"" << c.Radius() << "\" "
25
- << "/>" << endl;
26
+ << "/>" << std::endl;
27
}
28
29
void Geom2dArcOfCircle::Restore(Base::XMLReader &reader)
30
@@ -1152,7 +1152,7 @@ void Geom2dEllipse::Save(Base::Writer& writer) const
31
writer.Stream()
32
<< "MajorRadius=\"" << e.MajorRadius() << "\" "
33
<< "MinorRadius=\"" << e.MinorRadius() << "\" "
34
- << "/>" << endl;
35
+ << "/>" << std::endl;
36
}
37
38
void Geom2dEllipse::Restore(Base::XMLReader& reader)
39
@@ -1329,7 +1329,7 @@ void Geom2dArcOfEllipse::Save(Base::Writer &writer) co
40
writer.Stream()
41
<< "MajorRadius=\"" << e.MajorRadius() << "\" "
42
<< "MinorRadius=\"" << e.MinorRadius() << "\" "
43
- << "/>" << endl;
44
+ << "/>" << std::endl;
45
}
46
47
void Geom2dArcOfEllipse::Restore(Base::XMLReader &reader)
48
@@ -1458,7 +1458,7 @@ void Geom2dHyperbola::Save(Base::Writer& writer) const
49
writer.Stream()
50
<< "MajorRadius=\"" << h.MajorRadius() << "\" "
51
<< "MinorRadius=\"" << h.MinorRadius() << "\" "
52
- << "/>" << endl;
53
+ << "/>" << std::endl;
54
}
55
56
void Geom2dHyperbola::Restore(Base::XMLReader& reader)
57
@@ -1591,7 +1591,7 @@ void Geom2dArcOfHyperbola::Save(Base::Writer &writer)
58
writer.Stream()
59
<< "MajorRadius=\"" << h.MajorRadius() << "\" "
60
<< "MinorRadius=\"" << h.MinorRadius() << "\" "
61
- << "/>" << endl;
62
+ << "/>" << std::endl;
63
}
64
65
void Geom2dArcOfHyperbola::Restore(Base::XMLReader &reader)
66
@@ -1702,7 +1702,7 @@ void Geom2dParabola::Save(Base::Writer& writer) const
67
SaveAxis(writer, axis);
68
writer.Stream()
69
<< "Focal=\"" << focal << "\" "
70
- << "/>" << endl;
71
+ << "/>" << std::endl;
72
}
73
74
void Geom2dParabola::Restore(Base::XMLReader& reader)
75
@@ -1815,7 +1815,7 @@ void Geom2dArcOfParabola::Save(Base::Writer &writer) c
76
SaveAxis(writer, axis, u, v);
77
writer.Stream()
78
<< "Focal=\"" << focal << "\" "
79
- << "/>" << endl;
80
+ << "/>" << std::endl;
81
}
82
83
void Geom2dArcOfParabola::Restore(Base::XMLReader &reader)
84
@@ -1930,7 +1930,7 @@ void Geom2dLine::Save(Base::Writer &writer) const
85
<< "PosY=\"" << Pos.y << "\" "
86
<< "DirX=\"" << Dir.x << "\" "
87
<< "DirY=\"" << Dir.y << "\" "
88
- << "/>" << endl;
89
+ << "/>" << std::endl;
90
}
91
92
void Geom2dLine::Restore(Base::XMLReader &reader)
93
@@ -2064,7 +2064,7 @@ void Geom2dLineSegment::Save(Base::Writer &writer) con
94
<< "StartY=\"" << Start.y << "\" "
95
<< "EndX=\"" << End.x << "\" "
96
<< "EndY=\"" << End.y << "\" "
97
- << "/>" << endl;
98
+ << "/>" << std::endl;
99
}
100
101
void Geom2dLineSegment::Restore(Base::XMLReader &reader)
102
103