TD: cleanup after #5457 [skip ci]

Fix header uniformity  
Fix grammar  
Fix trailing whitespace
This commit is contained in:
luz paz
2022-01-29 18:49:04 -05:00
committed by WandererFan
parent 8eab4a397e
commit a5135efd87
4 changed files with 17 additions and 17 deletions

View File

@@ -47,7 +47,7 @@ using namespace TechDraw;
PROPERTY_SOURCE(TechDraw::FeatureProjection, Part::Feature) PROPERTY_SOURCE(TechDraw::FeatureProjection, Part::Feature)
FeatureProjection::FeatureProjection() FeatureProjection::FeatureProjection()
{ {
static const char *group = "Projection"; static const char *group = "Projection";
ADD_PROPERTY_TYPE(Source ,(0),group,App::Prop_None,"Shape to project"); ADD_PROPERTY_TYPE(Source ,(0),group,App::Prop_None,"Shape to project");

View File

@@ -1,5 +1,5 @@
/*************************************************************************** /***************************************************************************
* Copyright (c) Jürgen Riegel (juergen.riegel@web.de) 2002 * * Copyright (c) 2002 Jürgen Riegel <juergen.riegel@web.de> *
* * * *
* This file is part of the FreeCAD CAx development system. * * This file is part of the FreeCAD CAx development system. *
* * * *
@@ -134,13 +134,13 @@ void ProjectionAlgos::execute(void)
HI = build3dCurves(shapes.IsoLineHCompound());// isoparamtriques invisibly HI = build3dCurves(shapes.IsoLineHCompound());// isoparamtriques invisibly
} }
string ProjectionAlgos::getSVG(ExtractionType type, string ProjectionAlgos::getSVG(ExtractionType type,
double tolerance, double tolerance,
XmlAttributes V_style, XmlAttributes V_style,
XmlAttributes V0_style, XmlAttributes V0_style,
XmlAttributes V1_style, XmlAttributes V1_style,
XmlAttributes H_style, XmlAttributes H_style,
XmlAttributes H0_style, XmlAttributes H0_style,
XmlAttributes H1_style) XmlAttributes H1_style)
{ {
stringstream result; stringstream result;
@@ -157,7 +157,7 @@ string ProjectionAlgos::getSVG(ExtractionType type,
BRepMesh_IncrementalMesh(H,tolerance); BRepMesh_IncrementalMesh(H,tolerance);
result << "<g"; result << "<g";
for (const auto& attribute : H_style) for (const auto& attribute : H_style)
result << " " << attribute.first << "=\"" result << " " << attribute.first << "=\""
<< attribute.second << "\"\n"; << attribute.second << "\"\n";
result << " >" << endl result << " >" << endl
<< output.exportEdges(H) << output.exportEdges(H)
@@ -174,7 +174,7 @@ string ProjectionAlgos::getSVG(ExtractionType type,
BRepMesh_IncrementalMesh(HO,tolerance); BRepMesh_IncrementalMesh(HO,tolerance);
result << "<g"; result << "<g";
for (const auto& attribute : H0_style) for (const auto& attribute : H0_style)
result << " " << attribute.first << "=\"" result << " " << attribute.first << "=\""
<< attribute.second << "\"\n"; << attribute.second << "\"\n";
result << " >" << endl result << " >" << endl
<< output.exportEdges(HO) << output.exportEdges(HO)
@@ -190,7 +190,7 @@ string ProjectionAlgos::getSVG(ExtractionType type,
BRepMesh_IncrementalMesh(VO,tolerance); BRepMesh_IncrementalMesh(VO,tolerance);
result << "<g"; result << "<g";
for (const auto& attribute : V0_style) for (const auto& attribute : V0_style)
result << " " << attribute.first << "=\"" result << " " << attribute.first << "=\""
<< attribute.second << "\"\n"; << attribute.second << "\"\n";
result << " >" << endl result << " >" << endl
<< output.exportEdges(VO) << output.exportEdges(VO)
@@ -206,7 +206,7 @@ string ProjectionAlgos::getSVG(ExtractionType type,
BRepMesh_IncrementalMesh(V,tolerance); BRepMesh_IncrementalMesh(V,tolerance);
result << "<g"; result << "<g";
for (const auto& attribute : V_style) for (const auto& attribute : V_style)
result << " " << attribute.first << "=\"" result << " " << attribute.first << "=\""
<< attribute.second << "\"\n"; << attribute.second << "\"\n";
result << " >" << endl result << " >" << endl
<< output.exportEdges(V) << output.exportEdges(V)
@@ -222,7 +222,7 @@ string ProjectionAlgos::getSVG(ExtractionType type,
BRepMesh_IncrementalMesh(V1,tolerance); BRepMesh_IncrementalMesh(V1,tolerance);
result << "<g"; result << "<g";
for (const auto& attribute : V1_style) for (const auto& attribute : V1_style)
result << " " << attribute.first << "=\"" result << " " << attribute.first << "=\""
<< attribute.second << "\"\n"; << attribute.second << "\"\n";
result << " >" << endl result << " >" << endl
<< output.exportEdges(V1) << output.exportEdges(V1)
@@ -239,7 +239,7 @@ string ProjectionAlgos::getSVG(ExtractionType type,
BRepMesh_IncrementalMesh(H1,tolerance); BRepMesh_IncrementalMesh(H1,tolerance);
result << "<g"; result << "<g";
for (const auto& attribute : H1_style) for (const auto& attribute : H1_style)
result << " " << attribute.first << "=\"" result << " " << attribute.first << "=\""
<< attribute.second << "\"\n"; << attribute.second << "\"\n";
result << " >" << endl result << " >" << endl
<< output.exportEdges(H1) << output.exportEdges(H1)

View File

@@ -1,5 +1,5 @@
/*************************************************************************** /***************************************************************************
* Copyright (c) Jürgen Riegel (juergen.riegel@web.de) 2009 * * Copyright (c) 2009 Jürgen Riegel <juergen.riegel@web.de> *
* * * *
* This file is part of the FreeCAD CAx development system. * * This file is part of the FreeCAD CAx development system. *
* * * *

View File

@@ -71,7 +71,7 @@ public:
public: public:
/// is called the TaskView when the dialog is opened /// is called the TaskView when the dialog is opened
virtual void open(); virtual void open();
/// is called by the framework if an button is clicked which has no accept or reject role /// is called by the framework if a button is clicked which has no accept or reject role
virtual void clicked(int); virtual void clicked(int);
/// is called by the framework if the dialog is accepted (Ok) /// is called by the framework if the dialog is accepted (Ok)
virtual bool accept(); virtual bool accept();