From 909030859df2f0b938e1a38c80820619c8592702 Mon Sep 17 00:00:00 2001 From: luz paz Date: Tue, 14 Sep 2021 17:29:11 -0400 Subject: [PATCH] PD: Fix typo in function getContiniusEdges->getContinuousEdges Related to PR #5029 --- src/Mod/PartDesign/App/FeatureChamfer.cpp | 2 +- src/Mod/PartDesign/App/FeatureDressUp.cpp | 2 +- src/Mod/PartDesign/App/FeatureDressUp.h | 2 +- src/Mod/PartDesign/App/FeatureFillet.cpp | 2 +- src/Mod/PartDesign/App/FeaturePipe.cpp | 4 ++-- src/Mod/PartDesign/App/FeaturePipe.h | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Mod/PartDesign/App/FeatureChamfer.cpp b/src/Mod/PartDesign/App/FeatureChamfer.cpp index 81513332e1..24c20482c1 100644 --- a/src/Mod/PartDesign/App/FeatureChamfer.cpp +++ b/src/Mod/PartDesign/App/FeatureChamfer.cpp @@ -115,7 +115,7 @@ App::DocumentObjectExecReturn *Chamfer::execute(void) } std::vector SubNames = std::vector(Base.getSubValues()); - getContiniusEdges(TopShape, SubNames); + getContinuousEdges(TopShape, SubNames); if (SubNames.size() == 0) return new App::DocumentObjectExecReturn("No edges specified"); diff --git a/src/Mod/PartDesign/App/FeatureDressUp.cpp b/src/Mod/PartDesign/App/FeatureDressUp.cpp index dc16fb2ef4..67daa010d1 100644 --- a/src/Mod/PartDesign/App/FeatureDressUp.cpp +++ b/src/Mod/PartDesign/App/FeatureDressUp.cpp @@ -97,7 +97,7 @@ Part::Feature *DressUp::getBaseObject(bool silent) const return rv; } -void DressUp::getContiniusEdges(Part::TopoShape TopShape, std::vector< std::string >& SubNames) { +void DressUp::getContinuousEdges(Part::TopoShape TopShape, std::vector< std::string >& SubNames) { TopTools_IndexedMapOfShape mapOfEdges; TopTools_IndexedDataMapOfShapeListOfShape mapEdgeFace; diff --git a/src/Mod/PartDesign/App/FeatureDressUp.h b/src/Mod/PartDesign/App/FeatureDressUp.h index be22b3399e..61831ee8e8 100644 --- a/src/Mod/PartDesign/App/FeatureDressUp.h +++ b/src/Mod/PartDesign/App/FeatureDressUp.h @@ -58,7 +58,7 @@ public: virtual Part::Feature* getBaseObject(bool silent=false) const; /// extracts all edges from the subshapes (including face edges) and furthermore adds /// all C0 continuous edges to the vector - void getContiniusEdges(Part::TopoShape, std::vector< std::string >&); + void getContinuousEdges(Part::TopoShape, std::vector< std::string >&); virtual void getAddSubShape(Part::TopoShape &addShape, Part::TopoShape &subShape); diff --git a/src/Mod/PartDesign/App/FeatureFillet.cpp b/src/Mod/PartDesign/App/FeatureFillet.cpp index 96952fa2a4..5f2d52c4d0 100644 --- a/src/Mod/PartDesign/App/FeatureFillet.cpp +++ b/src/Mod/PartDesign/App/FeatureFillet.cpp @@ -74,7 +74,7 @@ App::DocumentObjectExecReturn *Fillet::execute(void) return new App::DocumentObjectExecReturn(e.what()); } std::vector SubNames = std::vector(Base.getSubValues()); - getContiniusEdges(TopShape, SubNames); + getContinuousEdges(TopShape, SubNames); if (SubNames.size() == 0) return new App::DocumentObjectExecReturn("Fillet not possible on selected shapes"); diff --git a/src/Mod/PartDesign/App/FeaturePipe.cpp b/src/Mod/PartDesign/App/FeaturePipe.cpp index fa25ac00eb..dfd410d0ad 100644 --- a/src/Mod/PartDesign/App/FeaturePipe.cpp +++ b/src/Mod/PartDesign/App/FeaturePipe.cpp @@ -401,7 +401,7 @@ void Pipe::setupAlgorithm(BRepOffsetAPI_MakePipeShell& mkPipeShell, TopoDS_Shape } -void Pipe::getContiniusEdges(Part::TopoShape /*TopShape*/, std::vector< std::string >& /*SubNames*/) { +void Pipe::getContinuousEdges(Part::TopoShape /*TopShape*/, std::vector< std::string >& /*SubNames*/) { /* TopTools_IndexedMapOfShape mapOfEdges; @@ -458,7 +458,7 @@ void Pipe::buildPipePath(const Part::TopoShape& shape, const std::vector< std::s try { if (!subedge.empty()) { //if(SpineTangent.getValue()) - //getContiniusEdges(shape, subedge); + //getContinuousEdges(shape, subedge); BRepBuilderAPI_MakeWire mkWire; for (std::vector::const_iterator it = subedge.begin(); it != subedge.end(); ++it) { diff --git a/src/Mod/PartDesign/App/FeaturePipe.h b/src/Mod/PartDesign/App/FeaturePipe.h index 9fbf90df01..9b1f937788 100644 --- a/src/Mod/PartDesign/App/FeaturePipe.h +++ b/src/Mod/PartDesign/App/FeaturePipe.h @@ -60,7 +60,7 @@ public: protected: ///get the given edges and all their tangent ones - void getContiniusEdges(Part::TopoShape TopShape, std::vector< std::string >& SubNames); + void getContinuousEdges(Part::TopoShape TopShape, std::vector< std::string >& SubNames); void buildPipePath(const Part::TopoShape& input, const std::vector& edges, TopoDS_Shape& result); void setupAlgorithm(BRepOffsetAPI_MakePipeShell& mkPipeShell, TopoDS_Shape& auxshape);