Console: rename PascalCase named methods to camelCase
This commit is contained in:
@@ -81,7 +81,7 @@ DrawViewDimension* DrawDimHelper::makeExtentDim(DrawViewPart* dvp,
|
||||
DrawViewDimension* DrawDimHelper::makeExtentDim(DrawViewPart* dvp, std::vector<std::string> edgeNames,
|
||||
int direction)
|
||||
{
|
||||
// Base::Console().Message("DDH::makeExtentDim() - dvp: %s edgeNames: %d\n",
|
||||
// Base::Console().message("DDH::makeExtentDim() - dvp: %s edgeNames: %d\n",
|
||||
// dvp->Label.getValue(), edgeNames.size());
|
||||
if (!dvp) {
|
||||
return nullptr;
|
||||
@@ -147,7 +147,7 @@ void DrawDimHelper::makeExtentDim3d(DrawViewPart* dvp, const std::string& dimTyp
|
||||
|
||||
void DrawDimHelper::makeExtentDim3d(DrawViewPart* dvp, ReferenceVector references, int direction)
|
||||
{
|
||||
// Base::Console().Message("DDH::makeExtentDim3d() - dvp: %s references: %d\n",
|
||||
// Base::Console().message("DDH::makeExtentDim3d() - dvp: %s references: %d\n",
|
||||
// dvp->Label.getValue(), references.size());
|
||||
if (!dvp) {
|
||||
return;
|
||||
@@ -205,7 +205,7 @@ void DrawDimHelper::makeExtentDim3d(DrawViewPart* dvp, ReferenceVector reference
|
||||
std::pair<Base::Vector3d, Base::Vector3d>
|
||||
DrawDimHelper::minMax(DrawViewPart* dvp, std::vector<std::string> edgeNames, int direction)
|
||||
{
|
||||
// Base::Console().Message("DDH::minMax() - edgeName: %d\n", edgeNames.size());
|
||||
// Base::Console().message("DDH::minMax() - edgeName: %d\n", edgeNames.size());
|
||||
std::pair<Base::Vector3d, Base::Vector3d> result;
|
||||
Base::Vector3d refMin;
|
||||
Base::Vector3d refMax;
|
||||
@@ -297,7 +297,7 @@ DrawDimHelper::minMax(DrawViewPart* dvp, std::vector<std::string> edgeNames, int
|
||||
//computation intensive for a cosmetic result.
|
||||
gp_Pnt DrawDimHelper::findClosestPoint(std::vector<TopoDS_Edge> inEdges, TopoDS_Edge& boundary)
|
||||
{
|
||||
// Base::Console().Message("DDH::findClosestPoint() - edges: %d\n", inEdges.size());
|
||||
// Base::Console().message("DDH::findClosestPoint() - edges: %d\n", inEdges.size());
|
||||
//
|
||||
//find an extent point that is actually on one of the curves
|
||||
double minDistance(std::numeric_limits<float>::max());
|
||||
@@ -305,12 +305,12 @@ gp_Pnt DrawDimHelper::findClosestPoint(std::vector<TopoDS_Edge> inEdges, TopoDS_
|
||||
for (auto& edge : inEdges) {
|
||||
BRepExtrema_DistShapeShape extss(edge, boundary);
|
||||
if (!extss.IsDone()) {
|
||||
Base::Console().Warning(
|
||||
Base::Console().warning(
|
||||
"DDH::findClosestPoint - BRepExtrema_DistShapeShape failed - 1\n");
|
||||
continue;
|
||||
}
|
||||
if (extss.NbSolution() == 0) {
|
||||
Base::Console().Warning(
|
||||
Base::Console().warning(
|
||||
"DDH::findClosestPoint - BRepExtrema_DistShapeShape failed - 2\n");
|
||||
continue;
|
||||
}
|
||||
@@ -325,7 +325,7 @@ gp_Pnt DrawDimHelper::findClosestPoint(std::vector<TopoDS_Edge> inEdges, TopoDS_
|
||||
std::pair<Base::Vector3d, Base::Vector3d>
|
||||
DrawDimHelper::minMax3d(DrawViewPart* dvp, ReferenceVector references, int direction)
|
||||
{
|
||||
// Base::Console().Message("DDH::minMax3d() - references: %d\n", references.size());
|
||||
// Base::Console().message("DDH::minMax3d() - references: %d\n", references.size());
|
||||
std::pair<Base::Vector3d, Base::Vector3d> result;
|
||||
Base::Vector3d refMin;
|
||||
Base::Vector3d refMax;
|
||||
@@ -420,7 +420,7 @@ DrawDimHelper::makeDistDim(DrawViewPart* dvp, std::string dimType,
|
||||
Base::Vector3d inMax,//expects scaled from makeExtentDim
|
||||
bool extent)
|
||||
{
|
||||
// Base::Console().Message("DDH::makeDistDim() - inMin: %s inMax: %s\n",
|
||||
// Base::Console().message("DDH::makeDistDim() - inMin: %s inMax: %s\n",
|
||||
// DrawUtil::formatVector(inMin).c_str(),
|
||||
// DrawUtil::formatVector(inMax).c_str());
|
||||
TechDraw::DrawPage* page = dvp->findParentPage();
|
||||
|
||||
Reference in New Issue
Block a user