[TD]Lint/Tidy/Review comments applied
This commit is contained in:
@@ -76,7 +76,7 @@ void pointPair::invertY()
|
||||
m_second = DU::invertY(m_second);
|
||||
}
|
||||
|
||||
void pointPair::dump(std::string text) const
|
||||
void pointPair::dump(std::string &text) const
|
||||
{
|
||||
Base::Console().Message("pointPair - %s\n", text.c_str());
|
||||
Base::Console().Message("pointPair - first: %s second: %s\n",
|
||||
@@ -132,7 +132,7 @@ void anglePoints::invertY()
|
||||
m_vertex = DU::invertY(m_vertex);
|
||||
}
|
||||
|
||||
void anglePoints::dump(std::string text) const
|
||||
void anglePoints::dump(std::string &text) const
|
||||
{
|
||||
Base::Console().Message("anglePoints - %s\n", text.c_str());
|
||||
Base::Console().Message("anglePoints - ends - first: %s second: %s\n",
|
||||
@@ -140,24 +140,19 @@ void anglePoints::dump(std::string text) const
|
||||
Base::Console().Message("anglePoints - vertex: %s\n", DU::formatVector(vertex()).c_str());
|
||||
}
|
||||
|
||||
arcPoints::arcPoints()
|
||||
arcPoints::arcPoints() :
|
||||
isArc(false),
|
||||
radius(0.0),
|
||||
arcCW(false)
|
||||
{
|
||||
isArc = false;
|
||||
radius = 0.0;
|
||||
center = Base::Vector3d(0.0, 0.0, 0.0);
|
||||
onCurve.first(Base::Vector3d(0.0, 0.0, 0.0));
|
||||
onCurve.second(Base::Vector3d(0.0, 0.0, 0.0));
|
||||
arcEnds.first(Base::Vector3d(0.0, 0.0, 0.0));
|
||||
arcEnds.second(Base::Vector3d(0.0, 0.0, 0.0));
|
||||
midArc = Base::Vector3d(0.0, 0.0, 0.0);
|
||||
arcCW = false;
|
||||
}
|
||||
|
||||
arcPoints::arcPoints(const arcPoints& ap)
|
||||
: isArc(ap.isArc), radius(ap.radius), center(ap.center), onCurve(ap.onCurve),
|
||||
arcEnds(ap.arcEnds), midArc(ap.midArc), arcCW(ap.arcCW)
|
||||
{}
|
||||
|
||||
arcPoints& arcPoints::operator=(const arcPoints& ap)
|
||||
{
|
||||
isArc = ap.isArc;
|
||||
@@ -219,7 +214,7 @@ void arcPoints::invertY()
|
||||
midArc = DU::invertY(midArc);
|
||||
}
|
||||
|
||||
void arcPoints::dump(std::string text) const
|
||||
void arcPoints::dump(std::string &text) const
|
||||
{
|
||||
Base::Console().Message("arcPoints - %s\n", text.c_str());
|
||||
Base::Console().Message("arcPoints - radius: %.3f center: %s\n", radius,
|
||||
|
||||
Reference in New Issue
Block a user